IE6 no display jpeg images from mysql database

Discussion in 'Ruby' started by Robert, Sep 9, 2005.

  1. Robert

    Robert Guest

    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 ;-)
     
    Robert, Sep 9, 2005
    #1
    1. Advertising

  2. Robert

    Jacob Fugal Guest

    On 9/9/05, Robert <> 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/2004/06/09/data-uri-wont-work-in-ie/

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

    Jacob Fugal
     
    Jacob Fugal, Sep 9, 2005
    #2
    1. Advertising

  3. Florian Groß, Sep 9, 2005
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ivor O'Connor
    Replies:
    4
    Views:
    903
    Isofarro
    Nov 25, 2003
  2. David
    Replies:
    3
    Views:
    21,311
    David
    Jan 16, 2006
  3. lovaspillando
    Replies:
    0
    Views:
    1,049
    lovaspillando
    Aug 26, 2007
  4. Ivan Alameda Carballo
    Replies:
    0
    Views:
    506
    Ivan Alameda Carballo
    Aug 26, 2007
  5. Ron Brennan

    JPEG images sometimes don't display.

    Ron Brennan, Sep 30, 2004, in forum: Javascript
    Replies:
    5
    Views:
    156
    Ron Brennan
    Oct 2, 2004
Loading...

Share This Page