JOOM::GALLERY::FORUM

JoomGallery 3.0 JUX - Extensions => Modules => Topic started by: jmarvin on 28-11-2018 22:29:32



Title: SEO - JoomCat Image Dimensions
Post by: jmarvin on 28-11-2018 22:29:32
It was suggested that all images have dimensions and alt for better seo.

In /modules/mod_joomcat/helper.php around line 1000, I changed it to this...

$output   .= '    <img src="'.$this->_ambit->getImg($imgtype, $img, null, 0, true, $cropimgwidth, $cropimgheight, $cropimgpos).'" class="jg_photo'.$class.'" alt="'.$img->imgtitle.'"'.$extra.' width="'.$cropimgwidth.'" height="'.$cropimgheight.'" />';

I hope this helps someone or gets added to the core.


Title: Re: SEO - JoomCat Image Dimensions
Post by: MrMusic on 07-12-2018 13:03:27
Hi,

...I hope this helps someone or gets added to the core.
the best would be if you submit the proposal to Github: https://github.com/JoomGallery/JoomCategories (http://)