Is there any may to to make is that a user can select an image on their PC, and it is simply inserted into the HTML as <img src="data:image/jpg;base64,1234.....890A etc"/> ?
That's what Firefox does, but it's very bad for the performance of the page: everything is downloaded in a single connection instead of downloading the images in parallel and being able to keep them in the cache.
I have no idea what the two responses above are about....
Anyway I found a plugin called base64image which does exactally what I have described: Allows a user to select a local image and puts it in the source html using base64 inline coding.
You can place the image using
You can place the image using <img> ta as:
<h1><img alt="My picture" class="right" src="http://c.cksource.com/a/1/img/mypicture.jpg" /> Picture 11</h1>
That's what Firefox does, but
That's what Firefox does, but it's very bad for the performance of the page: everything is downloaded in a single connection instead of downloading the images in parallel and being able to keep them in the cache.
I have no idea what the two
I have no idea what the two responses above are about....
Anyway I found a plugin called base64image which does exactally what I have described: Allows a user to select a local image and puts it in the source html using base64 inline coding.