In odoo 13 i have a field example:
birthday_picture = fields.Image(string='Birthday Picture')
i want to add birthday_picture
image to be added in email template also which i declared in xml,
i have added <img>
tag and added still the image is not reflecting below i have shared the line
<div>
<img src="${'/birthday_picture.png=%s' % object.birthday_picture}" style="width: 60px; height: 60px"/><br/>
</div>
please let me know where i am doing wrong
Actually i have added this:
<p>
<img src="/web/image/birthday.reminder/${object.id}/birthday_picture/"/>
</p>
which doesnot reflect the image in template but when i looked for undelivered email from techncal > email
. by removing force_send
from code i can see my image reflected on it.
however i already searched that the email doesnot support base64
images but there is a tweak to do it as well. here is the link which descried the tweak