IE6 no display jpeg images from mysql database

Hi

I searching in other groups replay but .... :frowning:

Wy my code

(print ("<P> <IMG
SRC=\"data:image/jpg;base64,".base64_encode($rowfoto['fotka'])."\"></P><br>");

display my images from mysql ( field 'fotka' ) only in opera browser
and Geko engine browser ( mozilla, firefox, .. ) and not display in IE6

I trying other code white <object ...$rowfoto['fotka']...></object> and
it no good result.

Field 'fotka' is BLOB type and stored *.jpg files upload from other
aplication ( make in Delphi )

Robert
sorry for my english :wink:

The problem is that IE is not HTML 4.01 compliant (and the data: uri
is an HTML 4.01 feature). Read more here:

http://www.garyfeng.com/wordpress/2004/06/09/data-uri-wont-work-in-ie/

From that page, it appears there's no workaround. Sorry.

Jacob Fugal

···

On 9/9/05, Robert <robert@rob.com.pl> wrote:

(print ("<P> <IMG
SRC=\"data:image/jpg;base64,".base64_encode($rowfoto['fotka'])."\"></P><br>");

display my images from mysql ( field 'fotka' ) only in opera browser
and Geko engine browser ( mozilla, firefox, .. ) and not display in IE6

Jacob Fugal wrote:

The problem is that IE is not HTML 4.01 compliant (and the data: uri
is an HTML 4.01 feature). Read more here:

http://www.garyfeng.com/wordpress/2004/06/09/data-uri-wont-work-in-ie/

From that page, it appears there's no workaround. Sorry.

IIRC javascript:'data' URLs work, but they have no implicit Content-Type.