images not showing up on a CD viewed with Firefox
I have CD that is done in html and displays a pictorial index of 500 items on the CD. It works with every other browser but Firefox. Firefox does not display the images. I have tried every kind of path I can think of but nothing fixes this. It cannot be hardcoded with a drive letter because people have different drive letters for their CD drive.
The graphics are in a folder just off of the root structure. It should work with img src="/pix/snowman.jpg" or img src="../pix/snowman.jpg but neither allows the graphic to appear.
すべての返信 (8)
Do you see any errors in the Tools > Error Console?
Are those images grayed in Tools > Page Info > Media ?
Can you load those images if you type (paste) the url in the location bar?
Just to be sure that there isn't another problem you can check Fix problems that cause images to not show
Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
See Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems and Troubleshoot issues with plugins like Flash or Java to fix common Firefox problems
Your above posted system details show outdated plugin(s) with known security and stability risks.
- Shockwave Flash 10.1 r52
- Next Generation Java Plug-in 1.6.0_17 for Mozilla browsers
Update the Java plugin to the latest version.
- http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
Update the Flash plugin to the latest version.
Thank you very much for your response. I tried to follow the suggestions you made:
Do you see any errors in the Tools > Error Console?
No - there is nothing there
Are those images grayed in Tools > Page Info > Media ?
No - they appear in that dialog box
Can you load those images if you type (paste) the url in the location bar?
Yes - if I take the img src path and put it in the address field, the graphic will appear
Just to be sure that there isn't another problem you can check Images or animations do not show
I did the steps in that link but still no images on the page
Start Firefox in Safe Mode to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
Did this too and still no images
Updated Java and Flash
Still no images
This happens on a whole series of computers. I've tried Windows XP, Vista 64 and Win 7, 64 bit. None of these will display the images in Firefox but all of them display all of the images in IE and in Chrome.
Does Firefox handle the path for image source differently than IE? If so, can you give me the correct way to do this?
Thanks so much for your help, GiGi
If you see the images in Tools > Page Info > Media then that means that Firefox can find and display them.
Did you check the permission tab in Tools > Page Info > Permissions ?
I do not know why they are not rendered on the page.
Can you right-click where an image should appear and select View Image?
Only one of the images appeared in the Tools > Page Info > Media area. When I went to a page that was one level down, all the images there were grayed out (sorry, I didn't think to check that when I sent you the first response).
When I look under Tools > Page Info> I don't have anything that says Permissions.
Right-clicking on a missing image pops up the menu but clicking View Image doesn't do anything.
Any other places I can check?
Thanks again, GiGi
I have found some additional information about this problem based on the suggestions you made earlier. I've attached a screen shot showing the differences when this same set of pages is displayed through IIS on my computer from when it is displayed on the CD.
When displaying from disk, there is no permissions tab. There is also no "referring url". That second condition seems to be why Firefox cannot find the pictures. It isn't handling the path correctly from the root of the CD.
Does this make sense?
Thanks, GiGi
Your first posting showed - src="/pix/snowman.jpg" or img src="../pix/snowman.jpg and the screenshot shows that directory as /Pix/ with an uppercase P.
Maybe your problem is as simple as that?
I'm not sure I understand what you are saying. Is it that Firefox can find the difference between upper and lower case path names when an html page is displayed in IIS as a webpage but not when reading the exact same html pages from a CD? I have heard that some types of servers (Apache?) are case sensitive but this is just plain html and isn't dependent on a server like that. It works when viewed online through in IIS server; but not when viewed as a CD which should be server independent.
I'm sorry to be so obtuse - I've been doing this type of CD for 10 years and never had this problem before. We have never had anyone complain that the catalog didn't work before this year.
Thank you for your help, GiGi
You can't go back in the directory structure locally. If the html is in pix the you need to address images relative to that html file even if the images are in pix. To make it work locally you may have to place images in a sub directory of the HTML file. On websites permissions are different, but in a local file system you can't go back via ..
It may work if you initially start an HTML file in the root folder.