I've been building myself a custom email template but as it turns out the email template doesn't support img tag
https://www.caniemail.com/search/?s=img
<img src="<?= get_template_directory_uri(); ?>/images/my-logo.svg" width="200">
Does anyone know a good workaround to add img to Woocommerce email template?
EDIT: As it turns out it doesn't support svg images so I replaced them with JPG instead. JPG and JPEG formats are 100% supported but for some reason images till don't appear in Gmail(working fine in Outlook).
Gmail console log shows this
Cheers!
Email environments definitely support the <img>
tag! What you're referencing above is the 'loading' attribute (within an img tag).
However, it looks like you are trying to use an svg, which doesn't have great support: https://www.caniemail.com/features/image-svg/
Try using a jpg or png.