IE6 no display jpeg images from mysql database

R

Robert

Hi

I searching in other groups replay but .... :-(

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 ;-)
 
J

Jacob Fugal

(print ("<P> <IMG
SRC=3D\"data:image/jpg;base64,".base64_encode($rowfoto['fotka'])."\"></P>=
=20
display my images from mysql ( field 'fotka' ) only in opera browser
and Geko engine browser ( mozilla, firefox, .. ) and not display in IE6

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,906
Latest member
SkinfixSkintag

Latest Threads

Top