Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 2 réponses
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par 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.

Solution choisie

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.

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (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

Solution choisie

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.