Re: Including ALT tags for product images

  • Posts: 136
  • Thank you received: 1
12 years 11 months ago #16595

Hi Nicolas,

I was wondering if it's possible for me to somehow insert ATL tags to my product images?

I have people pulling information from our website regarding our products. They are pulling the information from a page that is displaying product category, I have set this to only display image - as that is aesthetically how I want the site to look.

This is the page I would like the information pulled from www.beautyscoop.com.au/index.php?option=...ut=listing&Itemid=57

Thanks in advance,
Jacqueline

Please Log in or Create an account to join the conversation.

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
12 years 11 months ago #16596

There are already ALT attributes for the images. For example, on your website:
<img src="/media/com_hikashop/upload/thumbnail/unionyogaw.png" alt="Union Yoga" height="232" width="415">

If you want to change the text of the ALT tag, you can edit your product in the back end and then edit your image. That will open a popup where you can change the "name" field which is used for the ALT attribute.

Please Log in or Create an account to join the conversation.

  • Posts: 88
  • Thank you received: 0
11 years 5 months ago #72524

Hi Nicolas,

Is it possible to have alt tag (for product images) in different languages ?
Does FaLang can handle this ? I did not found it so far.

Br
Jan

Please Log in or Create an account to join the conversation.

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
11 years 5 months ago #72802

Hi,

Yes, you can do it with Falang.
In Falang translations screen, select the content element "hikashop files" and you will see your images and files and you will be able to edit them and change them. That way, you could even have different images/files for different languages.

Please Log in or Create an account to join the conversation.

  • Posts: 88
  • Thank you received: 0
11 years 5 months ago #72847

Hello NIcolas,

Thank you for your prompt reply.
The translation is working fine...

although I think that the indexing of images In Google (coming from Hikashop) is not working correctly.
Few weeks (or even months) ago I added the ALT tag name to some images.
I am not able to find any of these in Google Image search... even one is not possible.
Only images of my previous site I can find easily.

I have no idea what I am doing wrong.
I have read the SEO instructions that it is important to add text before and after the Images...

is there a way to find out how many images of a specific site are indexed in Google ?

Can you give me some tips please ?

br
JAN

Please Log in or Create an account to join the conversation.

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
11 years 5 months ago #73150

Hi,

I don't think that it's related to HikaShop but to your robots.txt file. By default, all the folders of your website are not indexed with the default robots.txt file of Joomla.
But if you want your product images to be indexed, you should allow the folder media/com_hikashop/upload to be indexed.

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
1 year 11 months ago #341691

Hello, i was reading about this issue. In my case, all the images in products coverted to thumbnails, or in that folders, hast the IMG ALT attribute, but not the big ones in the upload folder. Just the ones in upload/thumbnails

How can i add the attribute to the big ones?

Thank you!

Please Log in or Create an account to join the conversation.

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
1 year 11 months ago #341692

Hi,

I'm not sure what you mean. The alt attribute on images is set by HikaShop thanks to the name you configure in the edit popup when you click on an image of a product on the product edit screen.

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
1 year 11 months ago #341728

Thank you for the quick reply.

Yes, i set the name there and get the ALT attribute, but only applies to the thumbnails created by Hika.

Im sending a capture so you can see what i mean

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
1 year 11 months ago #341732

Hi,

Well, if you see the alt attribute in the images generated by HikaShop on the frontend, there is not much else to it.
If the search engine doesn't have the alt, it's just that it didn't recrawl one of the URLs where that image is used.
I'm not sure where your screenshot is from ?

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
1 year 11 months ago #341742

Hi,

Its direct from my website, using site analyzer.

If you see, files in ...upload/thumbnails/xxx/xxx.jpg..... has IMG ALT, but the files uploaded original at .....upload/xxx.jpg dont have it.

If i click on the images dirctly on hika's product page, i can modify them, but only applies to the thumbnails

Please Log in or Create an account to join the conversation.

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
1 year 11 months ago #341747

Hi,

An "alt" is something added to the img tag on an HTML page. The image file itself doesn't have an "alt".
And so on product pages, HikaShop does add the alt attribute to the img tag of the main original image file at upload/xxx.jpg.
It's done by the code

$html = '<img id="hikashop_main_image'.$variant_name.'" '.$attributes.' title="'.$this->escape(@$image->file_description).'" alt="'.$this->escape(@$image->file_name).'" src="'.$img->url.'"/>';
in the file show_block_img that you can edit via the menu Display>Views.
So I don't see what we can do.
To me, it just looks like your site analyzer doesn't know what it's talking about, or you've modified the main image display of the product page to not include the alt attribute.

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
1 year 11 months ago #341777

Thank you nicolas, i havent modified anything. I will see if i can find the reason.

You are very kind!

Please Log in or Create an account to join the conversation.

Time to create page: 0.095 seconds
Powered by Kunena Forum