Forums

Display signature Image in email

tshirley 31 Dec, 2020
Hi,

I wanted to put a signature field in my form and have the image output in an email. So I place html like this in my email:
<p><strong>Pilot Signature</strong></p>
<img src={data:pilotsig}
width="400"
height="150" alt="Pilot Signature" />
The field {data:pilotsig} contains the base64 encoded image data.

The signature image is displayed in the debugger email body section but the actual email displays only the alt= caption.

I then tried copying the actual data from the signature field into the <img> src and got the same result - the debugger displays the image correctly but the actual email has a blank field.

Can you see what I am doing wrong please?

Thanks

Tim
healyhatman 31 Dec, 2020
Base 64 encoded images do not work in many email clients, including GMail. You need to save the signature as an image and attach it to the email. I sell a sig-to-image plugin on my site.
tshirley 01 Jan, 2021
So you are saying that I cannot actually have the image embedded in an email using a html <img > tag? It can only be an attachment?
healyhatman 01 Jan, 2021
You can
embed it with an img tag, you can't embedd it with an img tag where the src is a base64 string
Max_admin 08 Jan, 2021
Answer
the latest v7 update has "save as image" behavior for the signature field!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.