Reply to Re: image from within document itself

Your name:

Reply:


Posted by Alan J. Flavell on 04/28/06 22:15

On Fri, 28 Apr 2006, Jim Higson wrote:

> Asterbing wrote:
>
> > How to display image data embedded in the html page itself. Seen <img
> > src:"data:image/gif;base64,...">, but it doesn't work in IE. How to do ?
> > What workaround ?
>
> Those are data URLs.

Quite suitable for small images, but a bit wasteful of space for
larger ones[1]

> There is no workaround to get them showing in IE,

indeed

> except to fall back on 'normal' http URLs.

You could use conditional comments, so that compatible client agents
"see" only the embedded data, and don't have to make an additional
HTTP transfer, whereas the operating system component that thinks it's
a web browser will perceive the external link instead.

If you cared enough, that is.

regards

[1] Most current browsers support gzipped HTML, so feel free to
offer pages in that format if you'd like to conserve space and
bandwidth. Or use mod_gzip to negotiate it.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация