cloudinary icon indicating copy to clipboard operation
cloudinary copied to clipboard

Need Help

Open sangyoo91 opened this issue 10 years ago • 2 comments

I have a file input that shows a preview by using . I also save the dataURL into a blob.

How do I send this to the method when I click on another button to upload?

I do not want to upload the image directly to server on change input.

sangyoo91 avatar Jul 31 '15 15:07 sangyoo91

If I understand correctly what you are trying to do, you will need to upload the base64 string by using the method described here: #19. To bind it to a button you need to bind the function to a button via the click event. "click button.upload": -> #upload stuff Does that make sense?

Lepozepo avatar Aug 01 '15 03:08 Lepozepo

Referencing #19 made it work for me. Thank you :)

sangyoo91 avatar Aug 01 '15 16:08 sangyoo91