Lepozepo / cloudinary

MIT License
94 stars 42 forks source link

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

Open ryanmclaughlin opened 9 years ago

ryanmclaughlin commented 9 years ago

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

Lepozepo commented 9 years ago

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.

fabianrios commented 8 years ago

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!

Lepozepo commented 8 years ago

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