Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

htm file type problem with graphics and other details

more options

I have been distributing (via Gmail) web-pages I have designed for customers that were saved in .htm file format (complete web-pages) from Mozilla Firefox 58.0.2 (64 bit). When the customers have opened these gmail attachments (.htm files) on their local machine they open in their Firefox or Chrome but do not have any graphics and all color information is stripped from them. This is definitely not an acceptable way to get my web-page pilots approved at all!

As far as I was concerned this .htm was the ideal way to send complete web pages but now I definitely don't want to use it! Do you have any ideas qabout what is wrong or recommendations to correct these 'graphicless' complete webpages?

What a pity Dave

I have been distributing (via Gmail) web-pages I have designed for customers that were saved in .htm file format (complete web-pages) from Mozilla Firefox 58.0.2 (64 bit). When the customers have opened these gmail attachments (.htm files) on their local machine they open in their Firefox or Chrome but do not have any graphics and all color information is stripped from them. This is definitely not an acceptable way to get my web-page pilots approved at all! As far as I was concerned this .htm was the ideal way to send complete web pages but now I definitely don't want to use it! Do you have any ideas qabout what is wrong or recommendations to correct these 'graphicless' complete webpages? What a pity Dave

Chosen solution

davethor said

I have been distributing (via Gmail) web-pages I have designed for customers that were saved in .htm file format (complete web-pages) from Mozilla Firefox 58.0.2 (64 bit).

When you use the "Web page, complete" format, the HTML file is not complete in itself. Firefox creates a companion folder that contains the various stuff the browser needs to fill in the missing content, such as images and style sheets.

You could "zip" the file and folder together, but then the recipient would need to unzip it somewhere and load the page from disk so the contents of the folder would populate into the page. Inconvenient.

Would your correspondents mind receiving PDFs?

If they don't want PDFs, you could consider:

(1) The Save Page WE format ("Standard Items")

The images are converted to data URIs and embedded into the page. The results can be pretty huge.

https://addons.mozilla.org/firefox/addon/save-page-we/

(2) The MHTML format

This format is not natively supported in Firefox, but you can generate and view it using Internet Explorer 11 and possibly other browsers.

(3) Sharing a cloud storage link

Google Drive or Microsoft OneDrive would be affordable options.

Let us know what works out best for you and your clients.

Read this answer in context 👍 0

All Replies (3)

more options

Please paste the .htm code you are sending to here: https://pastebin.mozilla.org/

Then select a month for retention and after you hit Send, copy the URL for your Pastebin submission and paste that new IRL here.

Later today a contributor should be able to tell you what's happening.

more options

Are there any additional files included like CSS files or image files?

Make sure that (local) links are either relative and have forward slashes and not backslashes in their path.

You would normally check the Web Console and the Network Monitor for error messages.

more options

Chosen Solution

davethor said

I have been distributing (via Gmail) web-pages I have designed for customers that were saved in .htm file format (complete web-pages) from Mozilla Firefox 58.0.2 (64 bit).

When you use the "Web page, complete" format, the HTML file is not complete in itself. Firefox creates a companion folder that contains the various stuff the browser needs to fill in the missing content, such as images and style sheets.

You could "zip" the file and folder together, but then the recipient would need to unzip it somewhere and load the page from disk so the contents of the folder would populate into the page. Inconvenient.

Would your correspondents mind receiving PDFs?

If they don't want PDFs, you could consider:

(1) The Save Page WE format ("Standard Items")

The images are converted to data URIs and embedded into the page. The results can be pretty huge.

https://addons.mozilla.org/firefox/addon/save-page-we/

(2) The MHTML format

This format is not natively supported in Firefox, but you can generate and view it using Internet Explorer 11 and possibly other browsers.

(3) Sharing a cloud storage link

Google Drive or Microsoft OneDrive would be affordable options.

Let us know what works out best for you and your clients.