Inserting image in signature is blocked -- no way to allow to include the image
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 👍 1Toutes les réponses (2)
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.
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.