Image Displays in IE, not Firefox

Discussion in 'HTML' started by Arthur Shapiro, Dec 16, 2009.

  1. I run a small site for a bicycle club. I've recently started
    encountering an issue in which various images don't display at all in
    Firefox but have no problems in IE. Validation goes OK.

    As a preposterously small example, here's a 19-line page that shows the
    problem: http://www.ocrebels.com/images/ad/pic1.htm (It will only be
    up for a week.) The page that links to it via a thumbnail is showing
    the same issue with the thumbnail.

    Could some kind soul put me out of my misery and perhaps laughingly tell
    me what I'm overlooking?

    Regards,
    Art Shapiro
     
    Arthur Shapiro, Dec 16, 2009
    #1
    1. Advertising

  2. Arthur Shapiro

    idle Guest

    On Tue, 15 Dec 2009 18:21:32 -0800, Arthur Shapiro wrote in alt.html:

    > I run a small site for a bicycle club. I've recently started
    > encountering an issue in which various images don't display at all in
    > Firefox but have no problems in IE. Validation goes OK.
    >
    > As a preposterously small example, here's a 19-line page that shows the
    > problem: http://www.ocrebels.com/images/ad/pic1.htm (It will only be
    > up for a week.) The page that links to it via a thumbnail is showing
    > the same issue with the thumbnail.
    >
    > Could some kind soul put me out of my misery and perhaps laughingly tell
    > me what I'm overlooking?
    >
    > Regards,
    > Art Shapiro


    Works ok in my FF.


    --
    A lot of people are afraid of heights. Not me, I'm afraid of widths.
     
    idle, Dec 16, 2009
    #2
    1. Advertising

  3. Arthur Shapiro

    freemont Guest

    On Tue, 15 Dec 2009 18:21:32 -0800, Arthur Shapiro writ:

    > I run a small site for a bicycle club. I've recently started
    > encountering an issue in which various images don't display at all in
    > Firefox but have no problems in IE. Validation goes OK.
    >
    > As a preposterously small example, here's a 19-line page that shows the
    > problem: http://www.ocrebels.com/images/ad/pic1.htm (It will only be
    > up for a week.) The page that links to it via a thumbnail is showing
    > the same issue with the thumbnail.
    >
    > Could some kind soul put me out of my misery and perhaps laughingly tell
    > me what I'm overlooking?


    It must be something on your machine. I see the bicycle here in FF 3.5.5
    (Windows & Linux), and also in IE7, IE8 and Opera 10.10 (Linux).

    I will point out, since this is alt.html, that your markup is horribly
    deprecated. <font> tags and stuff like bgcolor don't belong in modern
    sites. You should be able to create this page with maybe ten lines of
    markup. For instance, replace:

    <table bgcolor="" align="center"><TR><TD>
    <A href="../../index.htm#ad">Back to Home page</A>
    </TD></TR></table>

    with:

    <p><a href="../../index.htm#ad">Back to Home page</a></p>

    and format it in a stylesheet. It's just silly as hell to put /that/ in a
    table.

    Anyway, have you confirmed the problem with anyone else, or is it just
    something you're seeing?
    --
    "Because all you of Earth are idiots!"
    ¯`·.¸¸.·´¯`·-> freemont© <-·´¯`·.¸¸.·´¯
     
    freemont, Dec 16, 2009
    #3
  4. Arthur Shapiro

    Neredbojias Guest

    On 15 Dec 2009, Arthur Shapiro <> wrote:

    > I run a small site for a bicycle club. I've recently started
    > encountering an issue in which various images don't display at all in
    > Firefox but have no problems in IE. Validation goes OK.
    >
    > As a preposterously small example, here's a 19-line page that shows
    > the problem: http://www.ocrebels.com/images/ad/pic1.htm (It will
    > only be up for a week.) The page that links to it via a thumbnail is
    > showing the same issue with the thumbnail.
    >
    > Could some kind soul put me out of my misery and perhaps laughingly
    > tell me what I'm overlooking?


    As did the others, I see the bike in ff, too. Since the thumb is
    evincing the same anomaly, it might be a prob with your video setup or
    video card/memory. Are you using full 16M color resolution? And did
    you check with ff on another 'puter?

    --
    Neredbojias
    http://www.neredbojias.org/
    http://www.neredbojias.net/
     
    Neredbojias, Dec 16, 2009
    #4
  5. freemont wrote:

    > I will point out, since this is alt.html, that your markup is horribly
    > deprecated.


    Thank you for the report. I had it fail on several of my Firefox
    machines, tunneled into my office and deliberately remote-desktop'ed to
    a rarely-used machine, and had that one fail as well. That's when I
    posted. So I'm thoroughly baffled.

    I totally agree with your observation about the code, and can't argue.
    In my own defense, I generate these image pages with a freeware utility
    cleaned up with a script, and it lets me churn out a bunch of linked
    picture pages in a couple of minutes. (The example, with one picture,
    is the pathological simple case.) So let's just say it gets the job
    done quickly and lets me have the day's pictures posted before most
    folks are even home to turn on their computers. For stuff that's going
    to remain on the site for a week, I don't get too hot-and-bothered by
    the crummy HTML. Hope this isn't a Bad Attitude!

    Thanks for the responses, everyone.

    Art
     
    Arthur Shapiro, Dec 16, 2009
    #5
  6. Arthur Shapiro

    dorayme Guest

    In article <wuXVm.68424$>,
    Arthur Shapiro <> wrote:

    > I run a small site for a bicycle club. I've recently started
    > encountering an issue in which various images don't display at all in
    > Firefox but have no problems in IE. Validation goes OK.
    >
    > As a preposterously small example, here's a 19-line page that shows the
    > problem: http://www.ocrebels.com/images/ad/pic1.htm (It will only be
    > up for a week.) The page that links to it via a thumbnail is showing
    > the same issue with the thumbnail.
    >
    > Could some kind soul put me out of my misery and perhaps laughingly tell
    > me what I'm overlooking?
    >

    I am seeing exactly what you are seeing on my FF and my Safari. Yes
    there is a problem. There are a couple of things. When I substitute a
    simple picture that is on an external server with a fullpath address and
    get rid of that class of yours that is instructing something to do
    something weird, the picture appears. Removing or altering the class
    enables my picture to appear but not yours which flashes on as if to try
    and then fails. There is funny scripting things going on! <g>

    Perhaps tell us more about exactly what you are up to? Why not have
    decent HTML mark up with proper strict doctype? And to keep things
    simpler? If you are server side scripting, you might need to go to a
    scripting usenet group to sort things out.

    --
    dorayme
     
    dorayme, Dec 16, 2009
    #6
  7. Arthur Shapiro

    Andy Guest

    "Arthur Shapiro" <> wrote in message
    news:wuXVm.68424$...
    >I run a small site for a bicycle club. I've recently started encountering
    >an issue in which various images don't display at all in Firefox but have
    >no problems in IE. Validation goes OK.
    >
    > As a preposterously small example, here's a 19-line page that shows the
    > problem: http://www.ocrebels.com/images/ad/pic1.htm (It will only be up
    > for a week.) The page that links to it via a thumbnail is showing the
    > same issue with the thumbnail.
    >
    > Could some kind soul put me out of my misery and perhaps laughingly tell
    > me what I'm overlooking?
    >
    > Regards,
    > Art Shapiro



    It worked in my FF, but when I looked at the source I noticed that you have
    a lot of </TR></TD> when they should be the other way around </TD></TR>


    Hope this helps


    Andy
     
    Andy, Dec 16, 2009
    #7
  8. Arthur Shapiro

    Andy Guest

    "Andy" <> wrote in message
    news:lL1Wm.3586$2...
    >
    > "Arthur Shapiro" <> wrote in message
    > news:wuXVm.68424$...
    >>I run a small site for a bicycle club. I've recently started encountering
    >>an issue in which various images don't display at all in Firefox but have
    >>no problems in IE. Validation goes OK.
    >>
    >> As a preposterously small example, here's a 19-line page that shows the
    >> problem: http://www.ocrebels.com/images/ad/pic1.htm (It will only be up
    >> for a week.) The page that links to it via a thumbnail is showing the
    >> same issue with the thumbnail.
    >>
    >> Could some kind soul put me out of my misery and perhaps laughingly tell
    >> me what I'm overlooking?
    >>
    >> Regards,
    >> Art Shapiro

    >
    >
    > It worked in my FF, but when I looked at the source I noticed that you
    > have a lot of </TR></TD> when they should be the other way around
    > </TD></TR>
    >
    >
    > Hope this helps
    >
    >
    > Andy


    Scrub that reply, was too hasty and misread source code, the </TD></TR>s are
    ok.

    Andy
    >
     
    Andy, Dec 16, 2009
    #8
  9. Arthur Shapiro

    Andy Dingley Guest

    On 16 Dec, 02:21, Arthur Shapiro <> wrote:
    > I run a small site for a bicycle club.  I've recently started
    > encountering an issue in which various images don't display at all in
    > Firefox but have no problems in IE.  


    Firefox 3.0.7 is failing to show it here. HTTP headers don't show any
    request for the image.

    Viewing the image URL works fine. Nothing obvious in the HTTP headers
    for it.

    Now the bizarre bit - viewing the DOM ("Generated source" through Web
    developer's toolkit) shows a style="display:none;" which explains why
    there's no image, but doesn't explain how it got there.


    PS - that HTML sucks. Looks like mid-90s code, both as source and when
    rendered.
     
    Andy Dingley, Dec 16, 2009
    #9
  10. Arthur Shapiro

    Doug Miller Guest

    In article <Lq_Vm.43299$>, Arthur Shapiro <> wrote:
    >freemont wrote:
    >
    >Thank you for the report. I had it fail on several of my Firefox
    >machines, tunneled into my office and deliberately remote-desktop'ed to
    >a rarely-used machine, and had that one fail as well. That's when I
    >posted. So I'm thoroughly baffled.


    Have you installed the AdBlockPlus plugin in FireFox?

    I can't see the image in FireFox either -- and that's why.
     
    Doug Miller, Dec 16, 2009
    #10
  11. Arthur Shapiro

    Neredbojias Guest

    On 16 Dec 2009, Andy Dingley <> wrote:

    > On 16 Dec, 02:21, Arthur Shapiro <> wrote:
    >> I run a small site for a bicycle club.  I've recently started
    >> encountering an issue in which various images don't display at all
    >> in Firefox but have no problems in IE.  

    >
    > Firefox 3.0.7 is failing to show it here. HTTP headers don't show any
    > request for the image.
    >
    > Viewing the image URL works fine. Nothing obvious in the HTTP headers
    > for it.
    >
    > Now the bizarre bit - viewing the DOM ("Generated source" through Web
    > developer's toolkit) shows a style="display:none;" which explains why
    > there's no image, but doesn't explain how it got there.


    What about the inline img element appearing ~directly~ in the body
    element (-or technically between the <center></center>, but...) or is
    transitional loose enough for that? I don't think so and do rather
    think that the validator is erroneous in this case.

    > PS - that HTML sucks. Looks like mid-90s code, both as source and
    > when rendered.


    --
    Neredbojias
    http://www.neredbojias.org/
    http://www.neredbojias.net/
     
    Neredbojias, Dec 16, 2009
    #11
  12. Arthur Shapiro wrote:
    > I run a small site for a bicycle club. I've recently started
    > encountering an issue in which various images don't display at all in
    > Firefox but have no problems in IE. Validation goes OK.
    >
    > As a preposterously small example, here's a 19-line page that shows the
    > problem: http://www.ocrebels.com/images/ad/pic1.htm (It will only be up
    > for a week.) The page that links to it via a thumbnail is showing the
    > same issue with the thumbnail.
    >
    > Could some kind soul put me out of my misery and perhaps laughingly tell
    > me what I'm overlooking?


    Modernizing your markup will not only allow the image to display, but
    simplifies it as well

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
    <meta http-equiv="content-language" content="en-us">

    <title>Colnago</title>

    <style type="text/css">
    body { color: #000; background: #c0c0c0; }
    h1, div { text-align: center; }
    div img { display: block; margin: 1em auto; }
    </style>

    </head>
    <body>
    <h1>Colnago</h1>
    <div>
    <a href="../../index.htm#ad">Back to Home page</a>
    <img src="one.jpg" alt="Image 1 of 1 - 168 kB">
    <a href="../../index.htm#ad">Back to Home page</a>
    </div>
    </body>
    </html>

    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
     
    Jonathan N. Little, Dec 16, 2009
    #12
  13. Thanks for all your reports and suggestions so far, everyone. I'll
    digest all your thoughts this evening and try and deal with the issue.

    I guess I'm totally lost as to why this code (crummy or not!) usually
    works and is only failing once in a blue moon, such as in the case in
    question.

    Art
     
    Arthur Shapiro, Dec 16, 2009
    #13
  14. Doug Miller wrote:

    > Have you installed the AdBlockPlus plugin in FireFox?


    Yes, I'm an AdBlockPlus user, which is specifically why I reported
    tunneling into work and connecting to a "foreign" machine - it doesn't
    have any add-ons and still exhibited the problem. I was concerned about
    the add-ons and wanted to eliminate that issue before bothering the
    newsgroup.

    Art
     
    Arthur Shapiro, Dec 16, 2009
    #14
  15. In article <hgaq91$gf$-september.org>, (Doug Miller) wrote:

    >Have you installed the AdBlockPlus plugin in FireFox?


    Sacre Bleu!

    I'm at work, and just checked the "foreign" machine - to my surprise, it had
    AdBlock, just like all my own machines.

    When I disabled the add-on, the image appeared correctly. Ditto for my main
    office machine.

    I suspect that AdBlock is keying on the directory "ad" and killing things.
    I'm going to change it from "ad" to "gorbenfranz" when I get home.

    I appreciate everyone's help on this issue. I'd love to have more impressive
    code, even for these silly little picture pages, but really need to have some
    means of automatically generating them - I'm talking 30-90 linked pictures
    twice a week, as you can see on the Photos page of that site. I'm sure this
    is a common requirement - how have some of you addressed the issue?

    Art - grateful for all the input
     
    Arthur Shapiro, Dec 16, 2009
    #15
  16. Arthur Shapiro

    freemont Guest

    On Wed, 16 Dec 2009 19:27:39 +0000, Arthur Shapiro writ:

    > In article <hgaq91$gf$-september.org>,
    > (Doug Miller) wrote:
    >
    >>Have you installed the AdBlockPlus plugin in FireFox?

    >
    > Sacre Bleu!
    >
    > I'm at work, and just checked the "foreign" machine - to my surprise, it
    > had AdBlock, just like all my own machines.
    >
    > When I disabled the add-on, the image appeared correctly. Ditto for my
    > main office machine.
    >
    > I suspect that AdBlock is keying on the directory "ad" and killing
    > things. I'm going to change it from "ad" to "gorbenfranz" when I get
    > home.
    >
    > I appreciate everyone's help on this issue. I'd love to have more
    > impressive code, even for these silly little picture pages, but really
    > need to have some means of automatically generating them - I'm talking
    > 30-90 linked pictures twice a week, as you can see on the Photos page of
    > that site. I'm sure this is a common requirement - how have some of you
    > addressed the issue?
    >
    > Art - grateful for all the input


    Photo gallery software. :) Coppermine or similar.

    --
    "Because all you of Earth are idiots!"
    ¯`·.¸¸.·´¯`·-> freemont© <-·´¯`·.¸¸.·´¯
     
    freemont, Dec 16, 2009
    #16
  17. Re: Image Displays in IE, not Firefox - RESOLUTION

    Solution confirmed - AdBlockPlus doesn't like a folder named ad, unless
    a specific inclusion rule is added for a given site.

    I renamed the folder, changed the link, and all is well (crummy code or
    not.)

    Thanks, everyone - quite a mystery without the benefit of hindsight.

    And I'll look at some of those better photo gallery programs as time
    permits.

    Art
     
    Arthur Shapiro, Dec 17, 2009
    #17
  18. Arthur Shapiro

    dorayme Guest

    Re: Image Displays in IE, not Firefox - RESOLUTION

    In article <2pfWm.107030$>,
    Arthur Shapiro <> wrote:

    > Solution confirmed - AdBlockPlus doesn't like a folder named ad, unless
    > a specific inclusion rule is added for a given site.
    >
    > I renamed the folder, changed the link, and all is well (crummy code or
    > not.)
    >
    > Thanks, everyone - quite a mystery without the benefit of hindsight.
    >
    > And I'll look at some of those better photo gallery programs as time
    > permits.
    >

    How I kicked myself for not spotting this considering I have been caught
    by the very same thing! I had more than one complaint about a commercial
    site and worked out it was because of the name of the folder (I think it
    was, rather than the name of the file in my case) and ad blocking
    software. The softwares don't always work quite the same on different
    browsers...

    --
    dorayme
     
    dorayme, Dec 17, 2009
    #18
  19. Re: Image Displays in IE, not Firefox - RESOLUTION

    On Wed, 16 Dec 2009 17:01:05 -0800, Arthur Shapiro wrote:
    > Solution confirmed - AdBlockPlus doesn't like a folder named ad, unless
    > a specific inclusion rule is added for a given site.
    >
    > I renamed the folder, changed the link, and all is well (crummy code or
    > not.)


    privoxy will probably handle it the same way.
     
    Allodoxaphobia, Dec 18, 2009
    #19
    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. Chumley Walrus
    Replies:
    1
    Views:
    12,202
    =?Utf-8?B?QnJpYW4gQnJvd24=?=
    Dec 16, 2004
  2. David Smithz
    Replies:
    6
    Views:
    1,601
    David Smithz
    Apr 30, 2006
  3. Mike Barnard
    Replies:
    3
    Views:
    448
    Toby A Inkster
    Mar 5, 2007
  4. D_W
    Replies:
    15
    Views:
    943
    Neredbojias
    Jul 28, 2007
  5. david.karr
    Replies:
    2
    Views:
    207
    david.karr
    May 20, 2008
Loading...

Share This Page