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
Set ALT attribute in the correct location
-
robintel
- Phoca Newbie

- Posts: 7
- Joined: 23 Sep 2008, 13:30
- Contact:
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Set ALT attribute in the correct location
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
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
If you find Phoca extensions useful, please support the project
-
robintel
- Phoca Newbie

- Posts: 7
- Joined: 23 Sep 2008, 13:30
- Contact:
Re: Set ALT attribute in the correct location
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.
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:
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
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">Code: Select all
<span class="mbf-item">#phocagallerypiclens 2-phocagallerypiclenscode-northern_ireland/abstract/abstract_pictures_robintel_gallery_001.jpg</span>Is there a workaround or something?
Thanks,
Robin
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Set ALT attribute in the correct location
Hi, please let me know where is the link to original image which is not alt tagged, this:
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
Code: Select all
<span class="mbf-item">#phocagallerypiclens 2-phocagallerypiclenscode-northern_ireland/abstract/abstract_pictures_robintel_gallery_001.jpg</span>All this:
#phocagallerypiclens 2-phocagallerypiclenscode-northern_ireland/abstract/abstract_pictures_robintel_gallery_001.jpg is a name not link.
Jan
If you find Phoca extensions useful, please support the project
-
robintel
- Phoca Newbie

- Posts: 7
- Joined: 23 Sep 2008, 13:30
- Contact:
Re: Set ALT attribute in the correct location
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
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