You are here: Re: IE6 not display jpeg images from mysql databases « PHP Programming Language « IT news, forums, messages
Re: IE6 not display jpeg images from mysql databases

Posted by John Dunlop on 09/09/05 13:45

Robert wrote:

> data:image/jpg;base64,".base64_encode($rowfoto['fotka'])

The registered MIME type is image/jpeg, not image/jpg, but apart from
that the URL conforms to RFC2397.

I'm afraid I can't comment on Internet Explorer, but browsers in
general are not under an obligation to support the 'data:' URL scheme.

What length is the data? According to RFC2397 'data:' URLs are only
useful for short values, although the permitted number of characters
in HTML4.01 attribute values is 65 536 - considerably larger than it
was when that RFC came out (1 024). Not that I'd expect browsers to
enforce these limits.

--
Jock

 

Navigation:

[Reply to this 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

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