I have been doing some research about embedding images in HTML using
the data URL src method of the format:
<img src="/-/data:image/gif;base64,<DAT A>">
My question is, how does one generate this <DATA> string? I have found
some on the web that I can load into my browser but if I save this
image and then view in Notepad it looks much different than the string
that I used in <DATA> and is full of non-alphanumeric symbols. Also, I
have saved this image as a BLOB into my database and this format is in
turn different from the two other. What gives?
Thanks.
Edward
the data URL src method of the format:
<img src="/-/data:image/gif;base64,<DAT A>">
My question is, how does one generate this <DATA> string? I have found
some on the web that I can load into my browser but if I save this
image and then view in Notepad it looks much different than the string
that I used in <DATA> and is full of non-alphanumeric symbols. Also, I
have saved this image as a BLOB into my database and this format is in
turn different from the two other. What gives?
Thanks.
Edward
Comment