Lepozepo / cloudinary

MIT License
94 stars 42 forks source link

Need Help #33

Open sangyoo91 opened 9 years ago

sangyoo91 commented 9 years ago

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.

Lepozepo commented 9 years ago

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?

sangyoo91 commented 9 years ago

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