If you're using a browser (currently Firefox 3.6 or better) that understands what to do about the FileReader
function, you should be able to drag files to the drop zone, below, and immediately see them converted to data:uri
format.
Something I'm loading asynchronously--I'm guessing it's Facebook-related, and has piggybacked on Disqus--seems to occasionally block the script. If it doesn't work, please try reloading the page and waiting for all the asynchronous calls to settle down. Sorry about that!
It's on GitHub, here:
https://github.com/kentbrew/dragToDataUri
I'm using the extremely spiffy new GitHub for Mac to keep track of this project. Fast, free, gorgeous, and highly recommended!
As always, please have fun, and do let me know how it goes.