This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

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

Inserting image in signature is blocked -- no way to allow to include the image

  • 2 (ردّان اثنان)
  • 1 has this problem
  • 67 views
  • آخر ردّ كتبه jlinkels

more options

Thunderbird version 102.5.0 (64-bit) Debian 11 (Bullseye) KDE Plasma 5.20.5

I am trying to insert a HTML signature to my new messages. The HTML file contains a link to the signature file.

When I try to compose the message I get this message: "Thunderbird has blocked a file from loading into this message. Unblocking the file will include it in your sent message." There is a button "Preferences". When I click it, the message says: Unblock file:///home/xxx/yyy/zzz/artwork/email_sign_20160719.png

When I click Unblock, nothing happens.

I have tried to compose manually a new email and insert this image. Menu -> Insert -> Image -> Chose file. Chose the same file.

Same error message and no result when allowing / unblocking this image.

In Settings -> Privacy -> Mail Content -> Allow remote content in messages is checked. There is no exception blocking local file content.

I have added an exception, allowing everything starting with file:/// . No result.

In config editor I have mailnews.message_display.disable_remote_image set to false.

I am out of solutions. This is far beyond a simple method to allow me to attach an image in a signature.

Thunderbird version 102.5.0 (64-bit) Debian 11 (Bullseye) KDE Plasma 5.20.5 I am trying to insert a HTML signature to my new messages. The HTML file contains a link to the signature file. When I try to compose the message I get this message: "Thunderbird has blocked a file from loading into this message. Unblocking the file will include it in your sent message." There is a button "Preferences". When I click it, the message says: Unblock file:///home/xxx/yyy/zzz/artwork/email_sign_20160719.png When I click Unblock, nothing happens. I have tried to compose manually a new email and insert this image. Menu -> Insert -> Image -> Chose file. Chose the same file. Same error message and no result when allowing / unblocking this image. In Settings -> Privacy -> Mail Content -> Allow remote content in messages is checked. There is no exception blocking local file content. I have added an exception, allowing everything starting with file:/// . No result. In config editor I have '''mailnews.message_display.disable_remote_image''' set to false. I am out of solutions. This is far beyond a simple method to allow me to attach an image in a signature.

الحل المُختار

Found a solution. Somehow. Not happy about it.

Steps: Create a new empty email Insert the desired image and text Save the mail as HTML

When this HTML file is inserted as a signature, no warnings are issued.

Difference is that the HTML does not contain a pointer to a file in HTML. Like "src=file:///this.png" But instead the file contains the complete BASE64 encoded image.

The significant disadvantage is that if the image file changes, the signature must be completely recomposed and saved as HTML. Instead of simply changing the image file name of image file contents.

IMHO this ought not to be complicated like this. If I can compose HTML, file pointers should be allowed. It is normal HTML syntax. When I allow files to be included or attached, this should be allowed.

Read this answer in context 👍 1

All Replies (2)

more options

Some correction. When I do this action:

Menu -> Insert -> Image -> Choose file. Chose the same file.

The image is inserted. The reason Thunderbird still complains is that the option "insert HTML file as signature" is still enabled.

That should not preclude to insert an image manually anyway. But still it did.

After removing the option insert HTML file as signature I could manually insert an image.

more options

الحل المُختار

Found a solution. Somehow. Not happy about it.

Steps: Create a new empty email Insert the desired image and text Save the mail as HTML

When this HTML file is inserted as a signature, no warnings are issued.

Difference is that the HTML does not contain a pointer to a file in HTML. Like "src=file:///this.png" But instead the file contains the complete BASE64 encoded image.

The significant disadvantage is that if the image file changes, the signature must be completely recomposed and saved as HTML. Instead of simply changing the image file name of image file contents.

IMHO this ought not to be complicated like this. If I can compose HTML, file pointers should be allowed. It is normal HTML syntax. When I allow files to be included or attached, this should be allowed.