Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Pictures in htm file fail to display.

  • 8 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 kcindub

more options

As part of a website, I have created an htm file using the Word save-as function to convert a docx file containing both text and imbedded jpg pictures. Firefox displays the text but not the pictures in the htm file. Internet Explorer displays both. I am stumped because I have several other htm files that do display as desired using Firefox.

I am using Windows 7, Word 2010, and Firefox 18.0.1. As far as I know, all are up to date.

As part of a website, I have created an htm file using the Word save-as function to convert a docx file containing both text and imbedded jpg pictures. Firefox displays the text but not the pictures in the htm file. Internet Explorer displays both. I am stumped because I have several other htm files that do display as desired using Firefox. I am using Windows 7, Word 2010, and Firefox 18.0.1. As far as I know, all are up to date.

被選擇的解決方法

Thanks, but I solved the problem and obviously before you accessed the problem web page. My solution was to save=as using the "filtered" option. I do not know why this worked since I did not use this approach on several other doc to htm conversions.

從原來的回覆中察看解決方案 👍 0

所有回覆 (8)

more options

Did you upload the pictures too?

If so, do you have the correct path to those images on the server.
If not, that webpage may be looking for those images where they were located when you created that page - on your hard drive.

IE may be pulling those images from Temp files, if you viewed that page while it was still on your hard drive as you were developing that page.

Or, as I recall, IE will display images which are still on your PC. One reason IE isn't as secure as Firefox.

由 the-edmeister 於 修改

more options

Make sure that you have disabled MS Office VML code when saving the file in Word, otherwise the images may have been saved in a way that only work in IE and that is not compatible with Firefox.

more options

Thanks for your response. The problem also occurs when Firefox opens the htm file on my hard drive. When a Word file is saved as a htm, a folder is also created containing all of the images in the docx file. Both the folder and the htm file must be uploaded for the retrieval to work. In this case, it does not.

more options

Thanks for your response. The problem also occurs when Firefox opens the htm file on my hard drive. When a Word file is saved as a htm, a folder is also created containing all of the images in the docx file. Both the folder and the htm file must be uploaded for the retrieval to work. In this case, it does not. I have created several htm files using this approach without difficulty. However, I am willing to give your suggestion a try. Can you provide direction to allow me to turn off the VML code?

more options

Do you have a link to a web page where the images aren't working?

You can also check the images in the Tools > Page Info > Media page to see the actual path and check if the file is on the server.

Also make sure that the image path has forward slashes and not backslashes that Firefox shows escaped as %5C.

Note that you can only load images via a relative path if they are stored in a sub directory of the main html file when opened locally.

more options

The website link is http://hrhfh.org/index.html. Near the bottom of this page is a word: Stories. Clicking on this word executes a link (http://hrhfh.org/Stories.htm) that is the problem page. If you explore other tabs on the website, they all utilize the htm approach and work as expected.

more options

http://hrhfh.org/Stories.htm

I am having no problem seeing the 5 images on that page.

Please reload the webpage while bypassing the cache using one of the following steps:

  • Hold down the Shift key and click the Reload button with the left mouse key.

OR

  • Press Ctrl + F5 or Ctrl + Shift + R (Windows and Linux)
  • Press Command + Shift + R (Mac)

See if this helps solve the issues you had and please report back to us!

more options

選擇的解決方法

Thanks, but I solved the problem and obviously before you accessed the problem web page. My solution was to save=as using the "filtered" option. I do not know why this worked since I did not use this approach on several other doc to htm conversions.