Hi,

I have a simple page created by Microsoft Word 2007. It consists of an htm file and a folder which includes images. Firefox cannot load the images while other browsers can. Do you have any idea about the problem?

Thanks,
Yassar

Dani AI

Generated

Short note: this is a common pitfall when using a word processor to produce web pages. As warned, those exports often include Office-specific markup and embedded objects that some browsers do not understand. solved the immediate problem by changing how the file was produced; the checklist and tips below help others find and prevent the same issue.

Quick diagnostic checklist:

  • Open the generated HTML in a plain text editor and look for nonstandard elements or embedded object blocks. Those are the usual causes of browser incompatibility.
  • In Firefox use Developer Tools (Console and Network) to see whether image requests are made, what status codes return, and whether MIME types look correct.
  • Open the image files directly in the browser. If the files themselves do not display, convert them to a standard web format (PNG/JPEG/GIF) with an image editor.
  • Confirm the images folder sits next to the HTML and that references are relative and use safe filenames (no unusual characters or spaces).
  • If testing from the filesystem, try serving the files from a simple local web server to rule out file:// security quirks.

Practical fixes and workflow recommendations:

  • Extract the pictures from the source document and reinsert them into a cleaned HTML file created with a real HTML editor, or run the generated HTML through a cleaner/converter that strips vendor markup.
  • For future work, avoid using a word processor as the primary HTML editor. Use tools that produce standards-compliant output or convert the content and then tidy the result before publishing.
  • Always test exported pages in multiple browsers and check the Developer Tools output when something does not render.

These steps make it easy to find whether the issue is export markup, file paths, unsupported image formats, or server-side MIME problems.

Recommended Answers

All 2 Replies

What format are the images in?

Also, creating a web page using MS Word, or any other program not originally designed to create web pages really does make helping you very difficult, as the page will be full of rubbish whose sole purpose is to convert it back into a word doc.

What format are the images in?

Also, creating a web page using MS Word, or any other program not originally designed to create web pages really does make helping you very difficult, as the page will be full of rubbish whose sole purpose is to convert it back into a word doc.

Thanks for the answer drjohn, the images were in <v:shape> format, i recreated the htm file using the filtered option of microsoft word and it worked. When i used the filtered option, images were created in <img> fromat and it worked in all browsers.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.