That is a cool idea. Here is some code for data uris that worked on with org-mode earlier this summer. You could definitely hack a filter that embedded the image uri directly into the exported html.
http://kitchingroup.cheme.cmu.edu/blog/2015/05/09/Another-approach-to-embedding-org-source-in-html/ Peter Davis writes: > phillip.l...@newcastle.ac.uk (Phillip Lord) writes: > >> data-uri's is probably what you want. There is no standard format for >> zipping multiple HTML files together, while including images (or video's >> or audio) directly into the HTML works reasonably well. >> >> I found a snippet to get ox-html to do this -- it would be a good >> feature to add properly though! > > Thanks, Phillip. That sounds like an interesting possibility. I've never > worked with data-uri's. Can you post or send that snippet? I don't seem > to be finding it on my initial searches. > > Thanks, > -pd -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu