[Skip to main content](#vessel-content)

#   SEO and Alt Text

##

- **[davcraiguk](/forum/user/1706-davcraiguk "View davcraiguk's Profile")**
- [![davcraiguk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1706-davcraiguk "View davcraiguk's Profile") Topic Author
- [ Offline](/forum/user/1706-davcraiguk)

Less More

- Posts: 34
- Thank you received: 0
-
-

15 years 6 months ago [\#15317](#15317) by [davcraiguk](/forum/user/1706-davcraiguk "View davcraiguk's Profile")  *[SEO and Alt Text](/forum/3-bug-report/15317-seo-and-alt-text#15317 "I have discovered a 2 inconsistencies in the assignment of the ALT tag to product images. The ALT tag of the thumbnail image on the product view itself displays correctly based on the 'file&#95;name'...")* was created by *[davcraiguk](/forum/user/1706-davcraiguk "View davcraiguk's Profile")*

I have discovered a 2 inconsistencies in the assignment of the ALT tag to product images. The ALT tag of the thumbnail image on the product view itself displays correctly based on the 'file_name' field of the hikashop_file table.

1. The ALT tag of the thumbnail image in catogory view displays the 'product_name' field instead of the 'file_name'

2. The ALT tag of the pop of the full-size image in the Product view shows the URL of the image instead of the 'file_name' field. This is important as XML image sitemaps can be submitted to Google even if they come from within a javascript popup.

These are all important for SEO as Google especially reads and weighs-up these tags.

---

David Craig
Hikashop 1.5.0 Business edition
[ www.charitycanvasprints.com](http://www.charitycanvasprints.com)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNTMxNy1zZW8tYW5kLWFsdC10ZXh0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86552
- Thank you received: 14304
-
-

15 years 6 months ago [\#15320](#15320) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: SEO and Alt Text](/forum/3-bug-report/15317-seo-and-alt-text#15320 "I have discovered a 2 inconsistencies in the assignment of the ALT tag to product images. The ALT tag of the thumbnail image on the product view itself displays correctly based on the 'file&#95;name'...")*

Concerning your first point, we will change that for next release. You can do it yourself if you edit the view files "listing_..." via the menu Display-&gt;Views.

For the second point, the image in the popup is displayed automatically by the modal library of joomla/mootools. We just tell it to display the image within a popup via a link and the rest is not on our end. Besides, there is NO ALT tag on the image in the popup so I'm not even sure that we're talking about the same thing ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNTMxNy1zZW8tYW5kLWFsdC10ZXh0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[davcraiguk](/forum/user/1706-davcraiguk "View davcraiguk's Profile")**
- [![davcraiguk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1706-davcraiguk "View davcraiguk's Profile") Topic Author
- [ Offline](/forum/user/1706-davcraiguk)

Less More

- Posts: 34
- Thank you received: 0
-
-

15 years 6 months ago [\#15322](#15322) by [davcraiguk](/forum/user/1706-davcraiguk "View davcraiguk's Profile")  Replied by *[davcraiguk](/forum/user/1706-davcraiguk "View davcraiguk's Profile")* on topic *[Re: SEO and Alt Text](/forum/3-bug-report/15317-seo-and-alt-text#15322 "I have discovered a 2 inconsistencies in the assignment of the ALT tag to product images. The ALT tag of the thumbnail image on the product view itself displays correctly based on the 'file&#95;name'...")*

Thanks Nicolas,
Response is is a prompt as ever!

With regard to the squeezebox popup there is an ALT tag there, this is the HTML from firebug: Code:

&lt;img src="http://www.charitycanvasprints.com/media/com_hikashop/upload/Woman_of_dignity_in_Sierra%20Leone.jpg" alt="http://www.charitycanvasprints.com/media/com_hikashop/upload/Woman_of_dignity_in_Sierra%20Leone.jpg"&gt;

I appreciate there may be no way of passing in the correct ALT tag content.

---

David Craig
Hikashop 1.5.0 Business edition
[ www.charitycanvasprints.com](http://www.charitycanvasprints.com)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNTMxNy1zZW8tYW5kLWFsdC10ZXh0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86552
- Thank you received: 14304
-
-

15 years 6 months ago [\#15325](#15325) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: SEO and Alt Text](/forum/3-bug-report/15317-seo-and-alt-text#15325 "I have discovered a 2 inconsistencies in the assignment of the ALT tag to product images. The ALT tag of the thumbnail image on the product view itself displays correctly based on the 'file&#95;name'...")*

If you go on that page [ www.demo.hikashop.com/index.php?option=c...ow&amp;Itemid=57&amp;lang=en](http://www.demo.hikashop.com/index.php?option=com_hikashop&view=product&layout=show&Itemid=57&lang=en) and open the image, here is the code you get with chrome: Code:

&lt;img style="-webkit-user-select: none" src="http://www.demo.hikashop.com/media/com_hikashop/upload/photo_2745_20081227.jpg"&gt;

With firefox you get: Code:

&lt;img src="http://www.demo.hikashop.com/media/com_hikashop/upload/photo_2745_20081227.jpg" alt="http://www.demo.hikashop.com/media/com_hikashop/upload/photo_2745_20081227.jpg"&gt;

So it seems that it's firefox which adds the ALT tag automatically.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNTMxNy1zZW8tYW5kLWFsdC10ZXh0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[davcraiguk](/forum/user/1706-davcraiguk "View davcraiguk's Profile")**
- [![davcraiguk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1706-davcraiguk "View davcraiguk's Profile") Topic Author
- [ Offline](/forum/user/1706-davcraiguk)

Less More

- Posts: 34
- Thank you received: 0
-
-

15 years 6 months ago [\#15368](#15368) by [davcraiguk](/forum/user/1706-davcraiguk "View davcraiguk's Profile")  Replied by *[davcraiguk](/forum/user/1706-davcraiguk "View davcraiguk's Profile")* on topic *[Re: SEO and Alt Text](/forum/3-bug-report/15317-seo-and-alt-text#15368 "I have discovered a 2 inconsistencies in the assignment of the ALT tag to product images. The ALT tag of the thumbnail image on the product view itself displays correctly based on the 'file&#95;name'...")*

Hi Nicolas,
I had a look at the 'Views' concerning your suggestion below

> Concerning your first point, we will change that for next release. You can do it yourself if you edit the view files "listing\_..." via the menu Display-&gt;Views.

but could net see where and what to do to add the alt tag. can you be a little more specific please?

---

David Craig
Hikashop 1.5.0 Business edition
[ www.charitycanvasprints.com](http://www.charitycanvasprints.com)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNTMxNy1zZW8tYW5kLWFsdC10ZXh0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86552
- Thank you received: 14304
-
-

15 years 6 months ago [\#15369](#15369) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: SEO and Alt Text](/forum/3-bug-report/15317-seo-and-alt-text#15369 "I have discovered a 2 inconsistencies in the assignment of the ALT tag to product images. The ALT tag of the thumbnail image on the product view itself displays correctly based on the 'file&#95;name'...")*

You will find such code:
echo $this-&gt;image-&gt;display(@$this-&gt;row-&gt;file_path,false,$this-&gt;escape($this-&gt;row-&gt;product_name));
That you can change to:
echo $this-&gt;image-&gt;display(@$this-&gt;row-&gt;file_path,false,$this-&gt;escape($this-&gt;row-&gt;file_name));

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNTMxNy1zZW8tYW5kLWFsdC10ZXh0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.051 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
