Internet Explorer and Base64 image display

后端 未结 2 1743
醉话见心
醉话见心 2020-12-06 16:15

In aim to manipulate more easily various images on client side with Javascript, I wrote a function on server side (in VB 2010) to convert a file into a base64 string that I

相关标签:
2条回答
  • 2020-12-06 16:45

    IE8 is limited to 32KB. One way around this is to just serve the images in 'tiles' where each tile is less than 32KB.

    0 讨论(0)
  • 2020-12-06 16:52

    IE8 can only do Base64 URI images up to 32kb in size. It's a marginally annoying limitation, but you can still get by with icons/etc. Keep in mind that Base64 encoded images are on average 33% more data sent down the pipe anyway, so it's... eh, y'know, use your judgement.

    For anyone interested, it's also possible to make these work in IE6/7 (without, I might add, that 32kb limit...): http://venodesigns.net/2010/06/17/you-got-your-base64-in-my-css/

    0 讨论(0)
提交回复
热议问题