For an app I am working on I wanted to upload an image through javascript and save it as a dataURL and then send it away to my MongoDB. At first I thought I would just get the image from an <input type='file'>
and put it on a canvas and then get the information from there, but of course I ran into some issues, as just using the <input type='file'>
will not give you what you want.
(more…)