Hello,
It is not possible to display image while creating custom email in Admin email tab with: {Signatur: value} .
There is a way to include signature in your admin email, but you have to go to
Advance options of your form > More options > Submit pieces > End Submit, select
Type Custom and paste in something like this:
$this->execPieceByName('ff_InitLib');
$from ='test@gmail.com';
$fromname ="test";
$subject = 'Your Email Subject'; // Change to your preferred Email subject
$recipient = 'youremail'; // Change to your admin Email address
//grab values from fields that you want to pass in Admin email, replace Signatur and name with names of elements in your form
$signature= ff_getSubmit('Signatur');
$name= ff_getSubmit('name');
$attachment=null;
$isHtml = true;
$body = "
<html><body>
<h1>This is the title of email </h1>
<table>
<tr>
<td>
<strong>Name:</strong>
</td>
<td>
$name
</td>
</tr>
<tr>
<td>
<strong>Signature:</strong>
</td>
<td>
<img src= 'http://localhost/media/breezingforms/signatures/'.$signature alt='mypicture' width='50' height='60'>
</td>
</tr>
</table>
</body></html>";
$this->sendMail($from, $fromname, $recipient, $subject, $body, $attachment, $isHtml);
This is an example for a form that has fields named
Signatur and
name.
Replace what is noted in the coments.
The part of the code that shows the picture is:
<img src= 'http://localhost/media/breezingforms/signatures/'.$signature alt='mypicture' width='50' height='60'>
In that part of code replace localhost with your site domain.
I hope that this will help you.
Let me know if you've managed to set this for your form. If you have more questions, feel free to ask.
Regards,
Mihaela