javascript - data:imagegif;base64 <img> source in ie7 - Stack Overflow

I would like to make use of embedded base64 images in ie7.Example: I tried including "ie9.js"

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

Example: /

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

.html

Anyone know how to solve this? Thanks

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

Example: http://jsfiddle/mfPnK/

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

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

Anyone know how to solve this? Thanks

Share edited Jan 18, 2012 at 10:13 thirtydot 228k50 gold badges392 silver badges354 bronze badges asked Jan 18, 2012 at 9:52 JohanJohan 35.2k62 gold badges189 silver badges306 bronze badges 2
  • 1 Have you tried using an <object> tag instead of <img> as shown in the home page of ie7.js? – Darin Dimitrov Commented Jan 18, 2012 at 9:58
  • My (now deleted) answer wasn't true. IE9 in IE7 mode seems to support base64 embedding where genuine IE7 doesn't. – thirtydot Commented Jan 18, 2012 at 10:14
Add a ment  | 

2 Answers 2

Reset to default 3

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

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./mhtml-when-you-need-data-uris-in-ie7-and-under/.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744935434a4601991.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信