cloudinary icon indicating copy to clipboard operation
cloudinary copied to clipboard

Trying to upload blob to s3

Open kevohagan opened this issue 11 years ago • 3 comments

so i would love to make this work with mdg:camera package for mobile, which basically gives you base64-encoded data URI.

I think it would be great for this package to support that out of the box.

Would you know anything about that?

If i found out i'll definitely PR ;)

kevohagan avatar Oct 23 '14 09:10 kevohagan

This is really an important feature, any progress on this?

Pushplaybang avatar Feb 14 '16 16:02 Pushplaybang

None yet, I think I started working on it but I couldn't complete it. I'll have a look next time I can.

Lepozepo avatar Feb 19 '16 07:02 Lepozepo

It is kinda simple. I don't have the exact code (but can make it if explanation is not enough). Camera pkg gives dataURI, so convert it to blob, and from blob to file. That's it. Function for converting data to blob is not the simplest one, but can be easily found on stackoverflow

ipstas avatar Apr 15 '16 05:04 ipstas