cloudinary icon indicating copy to clipboard operation
cloudinary copied to clipboard

Not able to send a remote URL instead of file from input

Open ryanmclaughlin opened this issue 9 years ago • 3 comments

Hey there, I'm trying to pass a remote URL for cloudinary instead of a file which seems to be an option: http://cloudinary.com/documentation/upload_images#remote_upload

I'm getting this error: Uncaught TypeError: Failed to execute 'readAsDataURL' on 'FileReader': parameter 1 is not of type 'Blob'.

Any advice? Thanks

ryanmclaughlin avatar Jul 24 '15 17:07 ryanmclaughlin

You can only do that with server side code. That means you'll have to leverage their NodeJS API on the server to make it work.

Lepozepo avatar Jul 25 '15 02:07 Lepozepo

Can you point us to the right direction to achieve this kind of things, so it works with files or url's or even data64 characters, thanks!

fabianrios avatar Jun 30 '16 09:06 fabianrios

I need to add URL support, PR's are appreciated ^_^

Lepozepo avatar Jun 30 '16 14:06 Lepozepo