Using Canvas method toDataURL, I would like to be able to save the image on the server side (using Rails).
With toDataURL string, how to use it in a form that can be seen as a file attachment in a HTML form ?
Using Canvas method toDataURL, I would like to be able to save the image on the server side (using Rails).
With toDataURL string, how to use it in a form that can be seen as a file attachment in a HTML form ?
Here is my solution:
The Presentation page:
The page that will reveive the request from the first page and save the image:
Solution using jQuery, Paperclip, datafy.rb http://gist.github.com/397615