Missing alt text

Tourist
12 0 2

Hello

 

I'm trying to locate specific line of code that is causing to some issues with my undefinde alt (s screenshot attached)

I basically went through all over the code theme.liquid, templates, assets etc. unfortunately I couldn't find those specific lines of code (dynamic  code) however my guess is that there is a need to make an adjustment to the following 

product.liquid template & product.liquid snippet (screenshots attached).

Incase that I'm wright can some one please let me know which value should I choose.

Thanking you in advance. Screen Shot 2019-08-07 at 12.28.06.pngBing webmaster toolSippets Product.Liq.pngSnippet product.liquidTemplates Product.Liq.pngTemplate product.liquid

0 Likes
Highlighted
Shopify Expert
9789 86 1531

You've got the Liquid in place to output the image but you're missing the part for the alt tag itself. 

Try something more like this:

 

<img src="{{ image | product_img_url: '1024x1024' }}" alt="{{ image.alt | escape }}" />
★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes
Tourist
12 0 2
Hi Jason,

thank you so much for your comment.

Should I execute this to both templates & snippets?

Thanking you in advance,

Edmond.
0 Likes