How to add Alt Image Tags

I do not know if anyone knows how to or where to add Alt image tags on members thumbnails on the front page. Right now as it stands if you go off and have memebrs on your main page. Then do a SEO test on your site you get:

The <img> tag does not have an ALT attribute defined.

 

I looked though the source code and found members do not have them as well as some of modzzz modules do not have them. I will ask modzzz about his modules but my question here is for the members block. How do we add the alt code for all images.

Quote · 15 Oct 2016

To add alt attribute for thumbnail images you need to edit templates/base/scripts/BxBaseFunctions.php file getMemberThumbnail function to pass alt value and templates/base/thumbnail_single.html and templates/base/thumbnail_single_plain.html files.

Rules → http://www.boonex.com/terms
Quote · 16 Oct 2016

Thank you AlexT. Question why is that not a standard in the coding? Not having the alt="" tag on all images hurts the SEO for any website. All search engines look for the alt tag.

Quote · 16 Oct 2016

> Question why is that not a standard in the coding? 

There is already "title" attribute for the parent A tag.

Rules → http://www.boonex.com/terms
Quote · 5 Nov 2016

Hi Alex. Does the title attribute negate the need for the alt tag (in respect of SEO) ?

I thought both are required?

> Question why is that not a standard in the coding? 

There is already "title" attribute for the parent A tag.

 

Quote · 5 Nov 2016

It difficult to guess how search engines uses this information in this particular case, it maybe benefit for SEO to  provide "alt" attribute and it maybe negative effect as well to duplicate the same text in link text, link "title" attribute and in img "alt" attribute. 

Does the title attribute negate the need for the alt tag (in respect of SEO) ?

I thought both are required?

 

Rules → http://www.boonex.com/terms
Quote · 5 Nov 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.