Skip to Content
मेन्यू
This question has been flagged
1 Reply
2959 Views

How can I send the product image to email?


I'm using

<img src="/web/image/product.product/${orderpoint.product_id.id}/image_128" style="width:50px;height: 50px; object-fit: contain;" alt="Product image"/>


I can see the image in the preview of the email template but when I received in on my Gmail it is displaying the default camera image.


Please help

Avatar
Discard
Best Answer

Hi

Please try to use this code:

<img t-attf-src="/web/image/product.product/{{ line.product_id.id }}/image_128" style="width: 100px; height: 100px; object-fit: contain;" alt="Product image"></img>

In this case,  if you add the proper path for the image file we can directly send it through the email

Hope it helps

Avatar
Discard
Related Posts Replies Views Activity
1
जुल॰ 25
2042
1
मई 21
6834
1
मई 20
3418
0
मार्च 20
3442
1
मई 19
4826