Gift Card jpg image is blurry in notification email

Su_B
Excursionist
16 0 5

We need to update the gift card image in our notifications email sent to customers when they purchase, but it appears blurry when we do, any ideas to fix this please?

 

Here is the original code:

<img src="{{ 'gift-card/card.jpg' | shopify_asset_url }}" alt="Gift card image" width="240" height="160">

Reply 1 (1)

ZenoPageBuilder
Shopify Partner
1052 203 217

Hi @Su_B 

Try modifying the code like this

 

<img src="{{ 'gift-card/card.jpg' | img_url: '500x500' }}" alt="Gift card image" width="500" height="500">

Zeno Page Builder - Build responsive & SEO-optimized Landing pages, Blog posts, Product pages and more...
Learn more at zenobuilder.com