Skip to main content
gamedev.net
🔒 Locked

Encoding images in posts

Started by Lode Mar 3, 2007 at 6:03 AM 14 replies 2.1k views
Original Post
Lode
Lode
Did you know it's possible to embed images in posts without providing an external URL? For example: base64 encoded image Not sure if it works in internet explorer, but it works in all other browsers. Does it work for you?
Ilici
Ilici
It's actually very useful when you want to send html mail since most clients block external images.
jbadams
jbadams
Quote:
Original post by Lode
Not sure if it works in internet explorer, but it works in all other browsers. Does it work for you?
Doesn't work in IE7 for me, but it does show up in Opera. Interesting little trick.
- Jason Astle-Adams
Crypter
Crypter
Shows up in Netscape 8. It does not show up in IE 7 though..
dorix
dorix
IE6 doesn't render it either.
Lode
Lode
It works in Opera, Firefox/Mozilla, and Konqueror.
Avatar God
Avatar God
Yeah, fine in Firefox 2 - but that's weird. I'm not sure I understand what you just did.

//edit. Or maybe I do, and that's just plain cool.
gsgraham.comSo, no, zebras are not causing hurricanes.
SticksandStones
SticksandStones
Quote:
Original post by Lode
Did you know it's possible to embed images in posts without providing an external URL?

For example:

base64 encoded image

Not sure if it works in internet explorer, but it works in all other browsers. Does it work for you?


What happens if you change something?

EDIT: Wow, that's really cool. Now to research this topic further!
hippopotomonstrosesquippedaliophobia- the fear of big words
Lode
Lode
Quote:
Original post by SticksandStones
Quote:
Original post by Lode
Did you know it's possible to embed images in posts without providing an external URL?

For example:

base64 encoded image

Not sure if it works in internet explorer, but it works in all other browsers. Does it work for you?


What happens if you change something?

EDIT: Wow, that's really cool. Now to research this topic further!


Ok so I changed a few letters at random and look at that result :)
Ravuya
Ravuya
Huh, that's pretty cool. [grin]

Works in Opera on the Mac too. Wonder if you could make an exploit out of it.
lolage
lolage
Yeah, there have been a few exploits in the past that take advantage of the data://base64 thing. Useful but deadly! :o
Daniel Miller
Daniel Miller
I learn something new about the internets every day.
Lode
Lode
Quote:
Original post by Excors
You can put a whole site in there too.


That's awesome!
Crypter
Crypter
Quote:
Original post by Excors
You can put a whole site in there too.

Awsome indeed! Works in Netscape just fine, IE7 doesnt even let you right
click though..

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.