Good evening,
I purchased a "Prestablog" module which takes the ALT tag from imageManager, prestashop 1.7.4.
It seems however that there is a problem in the function and the alt tag is not powered.
line 89
return '<img src = "'. self :: getThumbnailPath ($ cacheImage, $ disableCache). '" alt = "" class = "imgm img-thumbnail" />';
[/ CODE]
The programmer tells me to go directly to prestashop but I do not know how.
I enclose your answer to my question;
Dear Sirs, After checking all prestashop's and our module datas, i found the answer. We use the thumbnail function from the imageManager created by prestashop. In this function, the alt tag is settle to empty as you can see here : return '<img src="'.self::getThumbnailPath($cacheImage, $disableCache).'" alt="" class="imgm img-thumbnail" />';Since we use the thumbnails in the related products, these are empty aswell. And this for all thumbnails of prestashop and prestablog using this function. The only solution would be to modify DIRECTLY the imagemanager by adding one variable $alt and to add it in the alt tag, but this can cause several problems of recovering datas, and maybe of crashing. I would'nt recommend it to you, or directly contact prestashop's service. My kind regards, Tim