http://rifers.org/blogs/gbevin/2005/4/11/embedding_images_inside_html
Embedding images inside the source of a HTML page
My friend JR pointed me to this trick which is detailed in RFC 2557
It turns out that by using a special data: URL scheme you are able to embed any mime data inside a HTML page, the format is as follows:
data:<mimetype>;base64,<data><mimetype> needs to be replaced by the mime-type of your data (image/png for instance) and
<data> is the base64 encoded string of the actual bytes of the file.
Embedding images inside the source of a HTML page
My friend JR pointed me to this trick which is detailed in RFC 2557
It turns out that by using a special data: URL scheme you are able to embed any mime data inside a HTML page, the format is as follows:
data:<mimetype>;base64,<data><mimetype> needs to be replaced by the mime-type of your data (image/png for instance) and
<data> is the base64 encoded string of the actual bytes of the file.