Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

Cross Browser Base64 Encoded Images Embedded in HTML (via) Scarily clever. View the PHP source to see what’s going on—most browsers get image tags that use data URIs starting with data:image/png;base64, but IE gets served a Content-type:message/rfc822 header and a MIME formatted multipart/related document, as used by e-mail clients to embed inline image attachments.

Tagged , , , , , ,

5 comments

  1. Good, okay, but, Base64 encoded images is not all that useful for pages with dynamic content; not cached by the browser.

    Sarven Capadisli - 17th April 2009 18:31 - #

  2. MHTML CSS styelsheets (avoiding the need to serve different content to different browsers):

    http://www.phpied.com/mhtml-when-you-need-data-uri s-in-ie7-and-under/

    Rasmus Fløe - 18th April 2009 18:39 - #

  3. This is old thing:

    http://bolknote.ru/2008/04/03/~1656

    Bolk - 21st April 2009 09:27 - #

  4. This is old thing:

    http://bolknote.ru/2008/04/03/~1656

    Bolk - 21st April 2009 09:28 - #

  5. Oops… Sorry

    Bolk - 21st April 2009 09:28 - #

Comments are closed.
A django site