Johan
Johan

Reputation: 35194

data:image/gif;base64 <img> source in ie7

I would like to make use of embedded base64 images in ie7.

Example: http://jsfiddle.net/mfPnK/

I tried including "ie9.js", without success:

http://code.google.com/p/ie7-js/source/browse/test/object-base64.html

Anyone know how to solve this? Thanks

Upvotes: 3

Views: 6504

Answers (2)

Mark Rhodes
Mark Rhodes

Reputation: 10217

I don't think you can do this in IE7, however you can use MTHML instead to get inline images, here's a good post on it: http://www.phpied.com/mhtml-when-you-need-data-uris-in-ie7-and-under/.

Upvotes: 1

Pekka
Pekka

Reputation: 449395

You can't add base64 support to IE7 using a library. This is a feature that can't be added using JavaScript.

Upvotes: 3

Related Questions