2

In the middle of creating some HTML email signatures for our company. Every so often I get "mime-attachment.png" instead of the actual image on some replies to my emails. At the moment they are linked like the following:

<img src="http://url/image1.png">

Should embedding my images into the signature? If so how would I do this? I see some examples that look like this, but not sure how to link the cid to the image:

<img src="cid:My-Image-Identifier"> 
KDD
  • 33
  • 6

2 Answers2

1

Use DATA URI scheme. Wikipedia has an simple example.

<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA
AAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO
9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />

Just encode your picture with base64 and replace the part between base64, and the first ".

tjati
  • 5,761
  • 4
  • 41
  • 56
0

I tried this, works fine if I open the signature in a web browser but does not work in our email client - IBM Lotus Notes 8.5 It was supported in version 8.0 but looks like it's been dropped.

This question also suggests that Lotus Notes 8.5 does not support it What is Data URI support like in major email client software?

Are there alternatives?

Community
  • 1
  • 1
KDD
  • 33
  • 6