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. Advertisements

  2. Robert

    Jacob Fugal Guest

    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. Advertisements

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

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 (here). After that, you can post your question and our members will help you out.