Reputation: 4488
I want to upload (copy) a file from a known url to Cloudinary from client-side javascript code without using any file upload UI. How can it be done?
I read the docs but just couldn't understand how this can be done.
Upvotes: 0
Views: 1531
Reputation: 1457
You can use the following syntax:
$('.cloudinary_fileupload').cloudinary_upload_url(url);
This will initiate an upload request to Cloudinary with the url as instead of a local file.
Upvotes: 2