The pictures get converted to hex and are stored in the HTML. Wiki on a Stick (aka StickWiki) does this; google it, unpack the HTML file, and have a look at the code.
You'll need to find a program that converts images to hex code. I have no idea how to do that.
But when I was young, (many years ago) I had to do conversion for all e-mail attachments by hand, yes, if the files had to leave compuserve network, we had to ascii frame it by hand first, and we were using prog called wincode for it. OK it is 16bit, but sure there is something more recent for it.
I had doscim and then wincim and all the additional gadgets one could download and play with that time. First modem was 2400 only.
You see , I mentioned number of times I am a gruftie, so well that was long time ago. However the compuserve classic with the HMI protocol on the end user side was switched off only last year, I had an account there until the last end of it.
And since Compueserve did use propper 8bit transmission of e-mail and attachments, when we tried to send an e-mail with binary attachment to place outside of compuserve network, we had to convert it to 7bit format first. Sometime people call that ascii framinig or ascii armouring or what ever. We used mostly UU encoder for that, but base64 is very similar and the wincode software does it both. It simply does what every mail client has to do, take 3 bytes (=24 bit) fill it up to 28 with some dummy bits and divide it by 7. You get 4 ascii chars.
I'm not sure if all browsers support embedding images as base64 encodings just so you know.
Last time I checked StickWiki, the icons appeared in Firefox but not Intergnat Exploder. I have no idea about Safari and Opera... and others, and maybe even IE does now. Just thought I'd mention it.
First, the data:/ URI scheme can be used for more than base64 encoding. (more about it here)
Gecko based browsers (Firefox/Seamonkey/Flock/etc), Webkit based browsers (Safari/Google Chrome/Arora/etc) and Opera support it surely.
IE 8 is the first of the IE line to support the data:/ URI. IE 7/6/older do not support it. Furthermore, the IE team crippled the data:/ URI for security reasons. (more on the wiki page above)
The pictures get converted to hex and are stored in the HTML. Wiki on a Stick (aka StickWiki) does this; google it, unpack the HTML file, and have a look at the code.
You'll need to find a program that converts images to hex code. I have no idea how to do that.
Is that what you were asking?
yes. I never thought you could do that.
Yeah, neither did I, until I saw it. Here's how StickWiki draws the Save icon:
Obviously replace { and } with . Apparently there's no way to post HTML code, and the standard comment code isn't accepted by Drupal's parser, so...
This is base64 encoding, so not hex exactly, but rather ascii framing like used in any e-mail client.
There seem to be many websites doing single files on line, for example:
http://www.motobit.com/util/base64-decoder-encoder.asp
http://www.askapache.com/online-tools/base64-image-converter/
But when I was young, (many years ago) I had to do conversion for all e-mail attachments by hand, yes, if the files had to leave compuserve network, we had to ascii frame it by hand first, and we were using prog called wincode for it. OK it is 16bit, but sure there is something more recent for it.
http://www.zdnet.de/windows_mail_wincode_download-39002345-14803-2.htm
Otto Sykora
Basel, Switzerland
That was a long time ago...
but was one of the early users here
I had doscim and then wincim and all the additional gadgets one could download and play with that time. First modem was 2400 only.
You see , I mentioned number of times I am a gruftie, so well that was long time ago. However the compuserve classic with the HMI protocol on the end user side was switched off only last year, I had an account there until the last end of it.
And since Compueserve did use propper 8bit transmission of e-mail and attachments, when we tried to send an e-mail with binary attachment to place outside of compuserve network, we had to convert it to 7bit format first. Sometime people call that ascii framinig or ascii armouring or what ever. We used mostly UU encoder for that, but base64 is very similar and the wincode software does it both. It simply does what every mail client has to do, take 3 bytes (=24 bit) fill it up to 28 with some dummy bits and divide it by 7. You get 4 ascii chars.
Otto Sykora
Basel, Switzerland
I'm not sure if all browsers support embedding images as base64 encodings just so you know.
Last time I checked StickWiki, the icons appeared in Firefox but not Intergnat Exploder. I have no idea about Safari and Opera... and others, and maybe even IE does now. Just thought I'd mention it.
First, the
data:/
URI scheme can be used for more than base64 encoding. (more about it here)Gecko based browsers (Firefox/Seamonkey/Flock/etc), Webkit based browsers (Safari/Google Chrome/Arora/etc) and Opera support it surely.
IE 8 is the first of the IE line to support the
data:/
URI. IE 7/6/older do not support it. Furthermore, the IE team crippled thedata:/
URI for security reasons. (more on the wiki page above)Blue is everything.