How to customize the upload button?

Custom CSS can be used for covering the default upload button with a custom button as we do in our media library.

You can find an example in our PubNub demo:
https://github.com/cloudinary/cloudinary_pubnub_demo
Specifically:
https://github.com/cloudinary/cloudinary_pubnub_demo/blob/master/server/views/sass/photo_share.sass#L94
And:
https://github.com/cloudinary/cloudinary_pubnub_demo/blob/master/server/views/index.haml#L178

Note that the file input field used by Cloudinary's direct upload is a standard browser's field. There are plenty of tutorials and code snippets regarding this issue. For example: http://stackoverflow.com/questions/6461252/custom-upload-button

Have more questions? Submit a request

Comments

Powered by Zendesk