Page 1 of 1
Set ALT attribute in the correct location
Posted: 17 May 2010, 00:58
by robintel
Hi all,
I've noticed that in my page source code, in Category View, that Phoca Gallery is not that SEO friendly, and I need help correcting that. Namely, the HTML ALT tag is set for the thumbnailed image, while the original (full size) image has no ALT attribute (tag).
As full size images are more interesting for most search engines, I was wondering if this can be corrected, and how. For instance, I'd like the ALT tag of the full size image to contain the image description.
Thanks,
Robin
Re: Set ALT attribute in the correct location
Posted: 17 May 2010, 13:50
by Jan
Hi, the ALT function is implemented to parameters.
What you mean with original images, do you mean in download popup (this should not be searched by robots, as this is only a part of the gallery in Popup, so search robot can only find image without any dependency to gallery)
Jan
Re: Set ALT attribute in the correct location
Posted: 17 May 2010, 20:56
by robintel
Hi Jan,
No, I mean I've set the ALT parameter in PG (and menu item, for that matter) and in the source code I see that the ALT parameter is only active for the thumbnailed image (inside some JS or something), while the original image has no ALT tag whatsoever.
Code: Select all
<img src="/images/phocagallery/northern_ireland/abstract/thumbs/phoca_thumb_m_abstract_pictures_robintel_gallery_001.jpg" alt="Scări metalice de incendiu. Obligatorii la toate instituțiile publice." class="pimo">
Now, above is the thumbnailed image. I looked to see if I can find the original image (larger, better) and I think it's encoded like:
Code: Select all
<span class="mbf-item">#phocagallerypiclens 2-phocagallerypiclenscode-northern_ireland/abstract/abstract_pictures_robintel_gallery_001.jpg</span>
As such, the original image has no ALT tag. Why I need it? Because in PicLens (CoolIris) I offer good quality, HD Ready - size, pictures that users can't find due to the working thumbnail in PG being 800px in width as opposed to the more relevant 1366px.
Is there a workaround or something?
Thanks,
Robin
Re: Set ALT attribute in the correct location
Posted: 18 May 2010, 11:46
by Jan
Hi, please let me know where is the link to original image which is not alt tagged, this:
Code: Select all
<span class="mbf-item">#phocagallerypiclens 2-phocagallerypiclenscode-northern_ireland/abstract/abstract_pictures_robintel_gallery_001.jpg</span>
is not a link to image but it is the identification name which is needed for coloris.
All this:
#phocagallerypiclens 2-phocagallerypiclenscode-northern_ireland/abstract/abstract_pictures_robintel_gallery_001.jpg is a name not link.
Jan
Re: Set ALT attribute in the correct location
Posted: 20 May 2010, 19:46
by robintel
Hi Jan,
Indeed, you are absolutely right, I don't know how I missed that. Still, that bears a different question. Where is the ALT for the original image?
Thanks,
Robin