cloudinary / cloudinary_js

Cloudinary JavaScript library
MIT License
328 stars 224 forks source link

Documentation Needed on How to upload from text input using URL #15

Closed chuckwh closed 11 years ago

chuckwh commented 11 years ago

Using the plugin works easily enough when setting up a type=file input field, but I can't figure out how to get it to work using website URL.

I tried

$('#url_field').cloudinary_fileupload();

but nothing happens. Can you please provide some documentation on how to use the jquery plugin with a URL rather than a file input?

nadavs commented 11 years ago

You can tell the file input field to perform direct uploading from the browser using an HTTP URL of a remote image (instead of actual image data uploading). You can use the cloudinary_upload_url jQuery method. See:

http://support.cloudinary.com/entries/24044601-Can-I-perform-direct-uploads-from-the-browser-with-remote-URLs-