Limits of img data URI image
data URIs (RFC 2397) are a great way to embed external content into an HTML document (or a CSS stylesheet). On the one hand they circumvent a secondary HTTP request to fetch the external content but on the other hand they also make storing full HTML documents so much easier - just one file including all the external content such as stylesheets and images.That's the theory and that has been discussed in detail already. Problematic is, again, our lovely Internet Explorer 8 - I'm not talking about IE 7 and earlier here... Microsoft somewhen decided that: Data URIs cannot be larger than 32,768 characters. A requirement that has been loosened with one IE9 beta late 2010, by the way. So far so ...
Continue Reading