Jump to content

Missing alt info in thumbImage template


Go to solution Solved by Jim M,

Recommended Posts

Posted

Please take a look if in

Template: core > front > global > thumbImage

This:

<img {{if $lazyLoad && settings.lazy_load_enabled}}src='{expression="\IPS\Text\Parser::blankImage()"}' data-{{endif}}src='{file="$image" extension="$extension"}' alt=''>

Shouldn't be this:

<img {{if $lazyLoad && settings.lazy_load_enabled}}src='{expression="\IPS\Text\Parser::blankImage()"}' data-{{endif}}src='{file="$image" extension="$extension"}' alt='$name'>

Cheers.

  • Solution
Posted

Are you suggesting to utilize the $name in the alt tag in this template? By default, the alt tag should be getting placed in when our Javascript handles a few various items (unless I am missing your question here).

As seen here:

20211218_141014660_iOS.jpg

 

image.png

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...