Hi Guys
Been scratching my head all evening with this and hope that someone can help. I am creating a template from my contact which has an image of the person, when i go to print to pdf and then select the template i want it to display the picture on the page. After looking at the documentation for espoCRM i can see that i have to put:-
<img src="{{file imageId}}"> The image field name in my contacts is "driverPhotoName". When i use the following string and then print to pdf and select the template it shows
<img src="filename.jpg" as text in the body of text
I want it to display the photo. however i think its the way im typing this, i have tried putting the word file in front of it but getting no joy. If my fieldname is "driverPhotoName" how would you type this in?
I'm assuming there is a really simple explanation but can't seem to get it right. I have also tried <img src="{{file driverPhotoName}}">
Any help would be appreciated
Thanks
Been scratching my head all evening with this and hope that someone can help. I am creating a template from my contact which has an image of the person, when i go to print to pdf and then select the template i want it to display the picture on the page. After looking at the documentation for espoCRM i can see that i have to put:-
<img src="{{file imageId}}"> The image field name in my contacts is "driverPhotoName". When i use the following string and then print to pdf and select the template it shows
<img src="filename.jpg" as text in the body of text
I want it to display the photo. however i think its the way im typing this, i have tried putting the word file in front of it but getting no joy. If my fieldname is "driverPhotoName" how would you type this in?
I'm assuming there is a really simple explanation but can't seem to get it right. I have also tried <img src="{{file driverPhotoName}}">
Any help would be appreciated
Thanks
Comment