Gift card email template

maxjet
New Member
1 0 0

We've followed the image guidance set here and edited the code etc. We still don't see how the image file in the emails that go to customers is updated. Also tried editing this line : 

 

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

 

in the `Gift Card Created` email template but just get no image showing. Do email images need to be a particular type? Our gift_card.liquid file is has this line for the new card image : 

 

<img src="{{ 'just_for_you.png' | asset_img_url: '1024x1024' }}" alt="">
0 Likes
JulieGalaise
Tourist
10 0 3

Hello, I seem to be having the same problem - no image showing - after following these instructions: https://shopify.dev/tutorials/customize-theme-personalize-gift-cards

Original Code as per attached image below:  <img src="{{ 'gift-card/card.jpg' | shopify_asset_url }}" alt="Gift card illustration">

Replaced with my new .png image file:  <img src="{{ 'Gift-Card-Purchase-Notification-email-UHOKU.png' | shopify_asset_url }}" alt="Gift card illustration">

Second image below shows the end result - no image

 

Thanking you in advance for your help!

 

Julie

 

Line 71 is what I replacedLine 71 is what I replacedEnd result - no imageEnd result - no image

0 Likes
jenweeks
New Member
3 0 0

I am having same problem!  would love to be able to solve this issue.

0 Likes
JulieGalaise
Tourist
10 0 3

Hi jenweeks, I wasn’t able to figure it out so I got it solved by a Shopify Expert.

 

jenweeks
New Member
3 0 0

Thank you!  I will do the same I think!

0 Likes
jenweeks
New Member
3 0 0

Can you recommend the person that fixed the problem for you?

0 Likes
Loua
New Member
1 0 0

Used the following code to insert our own image in the Gift Card Notification Email:

<img src="{{ 'GiftCard-Email.png' | asset_img_url: '240x160' }}" alt="Gift card image" width="240" height="160">

0 Likes