Closed Bug 435147 Opened 17 years ago Closed 17 years ago

Failure to display .gif in simple web page; fine with direct URL to image

Categories

(Firefox :: General, defect)

2.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: mozilla.org.8957, Unassigned)

References

()

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 Using the simplist web page I can write, Firefox is failing to display an image in a simple <img>. Firefox will display the image fine if the src= value from the image is placed in the Firefox URL box, so the image itself appears fine. Its only when used in an HTML page that firefox fails to display it, although it does sometimes flash as if it were drawing then erasing it. Reproducible: Always Steps to Reproduce: 1. Load http://www.ipdb.org/firefox_error.html or use this simple HTML: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head><title>Test</title></head> <body> <img src="http://www.ipdb.org/images/531/Advertisement.gif" alt="Image"> </body> </html> Actual Results: 432x310 pixel 89a gif Image is missing. No errors reported by Firefox. Nothing else unusual happened. Nothing crashed. Simply no way to view the image. Converting the .gif to a .jpg with ImageMagick results in the same behavior. Expected Results: The 430x310 image does not appear on the page. Display the image. Displaying the URL to the image directly in Firefox and it shows the image, so it seems to be able to successfully decode the image file.
wfm minefield
Version: unspecified → 2.0 Branch
Interesting that it works for you, as the only reason I looked into it was because a user of my site complained to me. Worked fine in IE, but when the user told me he was using Firefox I was able to immediately reproduce it, and I worked it down to this simple example thinking I had an error in the HTML somewhere (even though w3c validated the original page).
BTW there was a problem with certain anti-virus/anti-banner programs that did this to firefox, i.e. Kaspersky and I think others,(see http://www.webmasterworld.com/google_adsense/3206095.htm, not a great source but can't find anything better ATM) so you might want to try disabling them and report back (it is strange though that you don't get an error...)
Aw, criminy. Its because I have the AdBlock extension installed, and the name of the file is Advertisement.gif Disable AdBlock and everything works. Sorry about this; I forgot about my extensions until someone mentioned AV/AS.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.