Missing images in order emails
-
Hi,
We are setting up a new store and we detected an error related to product images in email orders.
These emails shows the product list with the product image thumbnail close to the product name.
Somehow the image is shown twice but one of them as an error image (this one that appears when an image is missing) and the other looks fine.
This is the code of the image:<img src="image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-src="https://factupress.es/wp-content/uploads/2025/03/factupress-icon.jpg" width="48" height="48" class="woocommerce-placeholder wp-post-image lazyload" alt="Marcador" border="0" style="border: none; display: inline-block; font-size: 14px; font-weight: bold; height: auto; outline: none; text-decoration: none; text-transform: capitalize; vertical-align: middle; margin-right: 24px; max-width: 100%;">
In this example for the Order Complete email the scr tag causes the lost image icon and data-src tag is the image which is correctly shown.
Now, this case for the Order Cancelled works fine<img width="48" height="48" src="https://factupress.es/wp-content/uploads/2025/03/factupress-icon.jpg" class="attachment-48x48 size-48x48" alt="Factupress Icon" loading="lazy" style="border: none; display: inline-block; font-size: 14px; font-weight: bold; height: auto; outline: none; text-decoration: none; text-transform: capitalize; vertical-align: middle; margin-right: 24px; max-width: 100%;" border="0">
If you compara them you would realize that same image for the same product are created in different ways.
Developers should check why they are different.Emails are settings were made with the new email manager.
Thanks
- You must be logged in to reply to this topic.