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

Avoid Thunderbird to inline images referenced in html

  • 4 replies
  • 2 have this problem
  • 1 view
  • Last reply by paol0

more options

I've prepared an email html signature that contains an image referenced via its url (it's just the company logo).

Basically in the html code of the signature at some point I have

Thunderbird downloads the image and inlines it as a CID Embedded Image, then change the image src attribute to point to the embedded image.

Is there a way to avoid this?

I'm asking because several email/web mail clients do not deal well with inlined images.

Thank you, Paolo

I've prepared an email html signature that contains an image referenced via its url (it's just the company logo). Basically in the html code of the signature at some point I have <img src="http://www.example.com/logo.gif"> Thunderbird downloads the image and inlines it as a CID Embedded Image, then change the image src attribute to point to the embedded image. Is there a way to avoid this? I'm asking because several email/web mail clients do not deal well with inlined images. Thank you, Paolo

Chosen solution

Try doing it my way; I think you'll see a tag modifier that supresses the inlining, but I don't have a reference to this right now. Then you can copy that modifier into your handcrafted signature code.

Read this answer in context 👍 0

All Replies (4)

more options

You have saved your signature as an html file?

I'd use Thunderbird to create the signature by creating it as if it was an email message, but use File|Save As to save it as an html file, then set that file to be used as the signature in the account settings.

When inserting the image into the signature, visit its Properties and untick "Attach this image to the message". That should leave you with a bare URL.

You are sure your image is hosted somewhere that correspondents can download it from?

more options

No, I copy-paste the code in the signature field.

I've set up a page on our website where every employee insert its personal info and gets an html code snippet to copy into thunderbird signature field.

I'm sure the html code is good and the image promptly available from the server.

I tried the same html signature with Apple Mail, the image is preserved as link and the message displays correctly (with the image) on almost every client (both mobile, web and desktop).

I'm testing the message on 20+ clients with litmus.com service

more options

Chosen Solution

Try doing it my way; I think you'll see a tag modifier that supresses the inlining, but I don't have a reference to this right now. Then you can copy that modifier into your handcrafted signature code.

more options

Awesome.

I tried what you suggested: composed a mail with a linked image and saved as html.

It turns out that if "Attach this image to the message" is unchecked then in the resulting html code a tag is added into the img element:

moz-do-not-send="true"

is inserted after the src attribute of the image.

--

I then updated my signature html code adding the tag to the linked image and now the email is composed properly (without the image embedded) and displays fine on every device I tested.

The signature code can be copy-pasted into the preferences field or loaded from a file. What matters is that moz-do-not-send attribute is set true in linked images.

Thank you very much Zenos