Open PfefferStift opened 8 months ago
Template file _slickdefault.html5 (src/Resources/contao/templates/gallery/slick_default.html5) displays the alt tag of an image as the title.
I suggest to change line 6 <a href="<?php echo $item->href; ?>"<?php echo $item->attributes; ?> title="<?php echo $item->alt; ?>"> to <a href="<?php echo $item->href; ?>"<?php echo $item->attributes; ?> title="<?php echo $item->linkTitle; ?>"> to generate the expected behaviour.
<a href="<?php echo $item->href; ?>"<?php echo $item->attributes; ?> title="<?php echo $item->alt; ?>">
<a href="<?php echo $item->href; ?>"<?php echo $item->attributes; ?> title="<?php echo $item->linkTitle; ?>">
Or did I miss something? :)
Template file _slickdefault.html5 (src/Resources/contao/templates/gallery/slick_default.html5) displays the alt tag of an image as the title.
I suggest to change line 6
<a href="<?php echo $item->href; ?>"<?php echo $item->attributes; ?> title="<?php echo $item->alt; ?>">
to<a href="<?php echo $item->href; ?>"<?php echo $item->attributes; ?> title="<?php echo $item->linkTitle; ?>">
to generate the expected behaviour.Or did I miss something? :)