how to put an image in an HTML signature for Thunderbird?
5,138
The url of the img is only valid to your computer and it is not valid at the receiver side. So you need to encode the image file using a base64 encoder like this one.
Upload the signature and convert it into base64.
Copy the code and replace the path in img tag with the code like this.
<br><img src="data:image/bmp;base64,Qk32BgAAAAAA...." alt="Signature">
Hope this helps.
Related videos on Youtube
Author by
Thufir
Updated on September 18, 2022Comments
-
Thufir over 1 year
How do I get thunderbird to send HTML and an image in a signature?
Just wanting to send a red dot in the signature file for as an example.
see also:
-
Thufir almost 7 yearsforgot to enable HTML messages as per: askubuntu.com/questions/100797/…
-
-
Thufir almost 7 yearsI updated the question a bit. Need to use src="data:...." ? Don't want to include the file itself directly.
-
CodeIt almost 7 years@Thufir If your are not ready to include file itself directly then the image will only be visible to you. Others won't be able to see your image. For that you need to embed the image and send.
-
Thufir almost 7 yearswhat I mean is I'd like to use
file:///whatever
instead of directly pasting the data. I wrote incorrectly about including the file directly. Of course I want to include the file, but would want to refer by file name and path. is that possible? -
CodeIt almost 7 years@Thufir Does your email recipient have access to this path? If not then they won't be able to see this file. For them you must embed the image and send or serve from your website or public server
-
Thufir almost 7 yearsohhhhhh, that's weird, didn't think of that. thx.
-
CodeIt almost 7 years@Thufir If this answers you question. Mark as answer.
-
Thufir almost 7 yearsLet us continue this discussion in chat.
-
David162795 over 5 yearsImages inserted like this are not visible in gmail for example. With how widespread gmail is this cannot be an acceptable answer.
-
David162795 over 5 yearsImages inserted like this are not visible in gmail for example. With how widespread gmail is this cannot be an acceptable answer.
-
Thufir over 5 yearshow does gmail handle inserted images, then?
-
David162795 over 5 yearsIt basically removes src attribut out of html (if it contains such inline data instead of http*) before displaying message, and the <img> image without it is displayed as if it had broken url.