Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Ruby (http://www.velocityreviews.com/forums/f66-ruby.html)
-   -   IE6 no display jpeg images from mysql database (http://www.velocityreviews.com/forums/t824308-ie6-no-display-jpeg-images-from-mysql-database.html)

Robert 09-09-2005 07:28 AM

IE6 no display jpeg images from mysql database
 
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 ;-)


Jacob Fugal 09-09-2005 03:39 PM

Re: IE6 no display jpeg images from mysql database
 
On 9/9/05, Robert <robert@rob.com.pl> wrote:
> (print ("<P> <IMG
> SRC=3D\"data:image/jpg;base64,".base64_encode($rowfoto['fotka'])."\"></P>=

<br>");
>=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/20...nt-work-in-ie/

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

Jacob Fugal



Florian Groß 09-09-2005 04:03 PM

Re: IE6 no display jpeg images from mysql database
 
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/20...nt-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.





All times are GMT. The time now is 04:30 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.