Skip to main content
Inspiring
September 1, 2011
Question

Images Viewable in Firefox But Not In Explorer, Safari, Chrome.

  • September 1, 2011
  • 1 reply
  • 774 views

I have a coldfusion page with images. The images are called up dynamically from my Mysql database. The image field with my database has the datatype "char(100)". All that is stored in that database field is the file path to the folder of which the image is stored which is: \photos\RSL\1.jpg.

On my webpage, the image placeholder looks like this:

<a href="#Unit_Info.comphoto1#"><img src="#Unit_Info.comphoto1#" alt="" name="1" width="98" height="73" /></a>

This images display just fine on Firefox, But Not In Explorer, Safari, & Chrome. These latter three just show a broken image. Could there be something wrong with either my coldfuson or Mysql file path where each of the letter three browsers are trying to access?

I'm running Coldfusion 9 on my local machine, using OS Window 7 Professional.

    This topic has been closed for replies.

    1 reply

    Inspiring
    September 2, 2011

    First thing I'd try would be to hard code the expected value and see if that works.  If it does, I'd look at the html source code from the problematic browsers and see if there is any unexpected white space.

    Inspiring
    September 10, 2011

    When I hard coded the file path it worked. I checked the source code and saw no white space. I even went to each browser's options dialog box to make sure that the show image options were checked. It may be my coding. In my image folder there are categories  of other folders within folders that have images of which Coldfusion calls up whenever the browser needs it. Could that be the problem? Should I have all of my 300 images in one folder?

    - Hannibal Hasan

    On Sep 1, 2011, at 9:30 PM, Dan Bracuk <forums@adobe.com> wrote:

    First thing I'd try would be to hard code the expected value and see if that works.  If it does, I'd look at the html source code from the problematic browsers and see if there is any unexpected white space.

    --------------------------------------------------------------
    This message was sent to: College Kid

    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/3897548#3897548

    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/3897548#3897548. In the Actions box on the right, click the Stop Email Notifications link. For more information about unsubscribing from the Adobe Forums, please visit http://kb2.adobe.com/cps/522/cpsid_52211.html

    --end--