Results 1 to 9 of 9
  1. #1
    Join Date
    Oct 2012
    Posts
    48
    Plugin Contributions
    0

    Default Missing alt tags on category images

    Hi Everyone

    I am running Zen Cart 1.5.1 with no uppgrades
    I am using ultimate SEO URL and also have a templatemonster template running

    My URL is www.avinstalls.co.uk

    My problem is with imag alt tags for the category page catergory image all other alt tags function correctly. When I look at the page source the alt tags for the category image are alt= ""

    I have uploaded the classic green template in the hope it may have been a template issue but the same probelm persists.
    I have also looked through and compared the tpl index categories php and tpl index pproduct info php and cant see any errors to the original files

    Can anyone point me in the right direction as to what generates the image alt tags it is working for all other images ie product info images and sub categories it also works on the category icons on the home page.

    Best Regards

    Boyd

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Missing alt tags on category images

    While looking at the URL you mentioned, I'm having trouble finding those symptoms.
    Can you be more specific?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Missing alt tags on category images

    As a quick aside....

    You should get into the habit of NAMING your images correctly...

    Many of your images are a combination of upper and lower case, and there are spaces between the words.

    Images (like all filenames on Linux) should be lower case only, no special characters, no spaces.

    Words in the name split by hyphens will be seen as separate words by Google (if you elect to have your images indexed) and images where words are separated by underscores will be seen as single words.
    20 years a Zencart User

  4. #4
    Join Date
    Oct 2012
    Posts
    48
    Plugin Contributions
    0

    Default Re: Missing alt tags on category images

    Quote Originally Posted by DrByte View Post
    While looking at the URL you mentioned, I'm having trouble finding those symptoms.
    Can you be more specific?
    Hi Dr Byte

    Thanks for your response sorry for not pproviding the coreect URL

    The problem occurs on all category pages the main image alongside the descripption text does not have an alt tag please see this page

    http://www.avinstalls.co.uk/home-cin...tions-c-1.html

    When I look at the source code for this the alt tag is blank

    Alt tags appear fine for pproducts and for sub categorys it just seem to be the parent category that is problematic.

    Your help is greatly appreciated

    Boyd

  5. #5
    Join Date
    Oct 2012
    Posts
    48
    Plugin Contributions
    0

    Default Re: Missing alt tags on category images

    Quote Originally Posted by schoolboy View Post
    As a quick aside....

    You should get into the habit of NAMING your images correctly...

    Many of your images are a combination of upper and lower case, and there are spaces between the words.

    Images (like all filenames on Linux) should be lower case only, no special characters, no spaces.

    Words in the name split by hyphens will be seen as separate words by Google (if you elect to have your images indexed) and images where words are separated by underscores will be seen as single words.

    Hi School Boyd thanks for the heads up on that one :)

    Would you see any benifit of going back through and altering what has already been done ?

    Boyd

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Missing alt tags on category images

    Optimal efficiency is important these days, not just for SEO but for user experience.

    While it is not a "mission critical" issue, it will be helpful if you make sure that images are appropriately named. When you come across an image that has not been named properly, change it.

    Later - when you have a few hours to spare, go through all images and correct them.

    ---------------------------------

    I too do not get "alt" tags appearing on sub-category images. This too is not critical, and should not have any effect on SEO, but I also strive for good validation and agree that it should be addressed. I will dig into code files to see if I can find out what creates that area.
    20 years a Zencart User

  7. #7
    Join Date
    Oct 2012
    Posts
    48
    Plugin Contributions
    0

    Default Re: Missing alt tags on category images

    Quote Originally Posted by schoolboy View Post
    Optimal efficiency is important these days, not just for SEO but for user experience.

    While it is not a "mission critical" issue, it will be helpful if you make sure that images are appropriately named. When you come across an image that has not been named properly, change it.

    Later - when you have a few hours to spare, go through all images and correct them.

    ---------------------------------

    I too do not get "alt" tags appearing on sub-category images. This too is not critical, and should not have any effect on SEO, but I also strive for good validation and agree that it should be addressed. I will dig into code files to see if I can find out what creates that area.
    Hi SchoolBoy

    Many Thanks its not so much an SEO problem but more a OCD problem I think its best nowadays not to give search engines any reason not to like you

  8. #8
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Missing alt tags on category images

    Quote Originally Posted by BoydBreen View Post
    Hi SchoolBoy

    Many Thanks its not so much an SEO problem but more a OCD problem I think its best nowadays not to give search engines any reason not to like you
    Many of Google's pages fail validation !
    20 years a Zencart User

  9. #9
    Join Date
    Feb 2007
    Location
    Barcelona
    Posts
    201
    Plugin Contributions
    0

    Default Re: Missing alt tags on category images


 

 

Similar Threads

  1. Alt tags in category images
    By Nick1973 in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 6 Apr 2017, 02:43 PM
  2. Alt tags for images
    By dustbowl in forum General Questions
    Replies: 1
    Last Post: 9 Aug 2012, 02:00 PM
  3. Keywords in Alt tags for Sub Category images?
    By tparvaiz in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 14 Jul 2011, 10:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg