Change Mouseover Text on Thumbnails

Phoca Gallery - image gallery extension
Greg HWD
Phoca Member
Phoca Member
Posts: 11
Joined: 26 Aug 2008, 10:11

Change Mouseover Text on Thumbnails

Post by Greg HWD »

Hi,

How can I change the mouseover text on the thumbnails please ?

Currently it shows the Image Title...

Id like to have it display the same text for ALL images... eg: "Click Image to Enlarge"

Amazingly, some people do not realise that you need to click image to see the large version.

Here is an image of what I mean...

Image
Greg HWD
Phoca Member
Phoca Member
Posts: 11
Joined: 26 Aug 2008, 10:11

Re: Change Mouseover Text on Thumbnails

Post by Greg HWD »

Jan, Could you reply to this please ? The post is drifting down the list with so many views but no replies....

Ive been searching and found this post viewtopic.php?f=1&t=2349 which talks about the use of the descriptions, descriptions and titles for alt tags ( as set in parameters) and I considered using this as a workaround by adding neta description for all images "Click To Enlarge" but it doesnt work, even if it did, I would have to enter the meta description for all images (and there are many!) SEO on images is not important, so the issues with that arent a problem and I could run a sql query to enter that as the meta description for all images...too much !!1

Ideally, Id like to find a way to make all alt tags on all images to have the alt text, "Click To Enlarge"

Jan, I would be happy to make another small donation (Ive made a few now) if you can help me achive this..

thanks
greg
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Change Mouseover Text on Thumbnails

Post by Jan »

Hi, this can be a problem. Because all this depends on many factors, e.g.:

- on used javascript popup methods (some needs alt tag for title or description displayed in their features)
- on if e.g. overlib will be used or not (overlib can then be in conflict with displaying alt)

Mostly alt value can be defined in the parameters - see Alt Value parameter.

At least, this file should be modified, to fit exactly your needs:
components/com_phocagallery/views/category/tmpl/default_images.php

Just find the alt tag and paste there what is needed for your site.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Change Mouseover Text on Thumbnails

Post by Jan »

If you find Phoca extensions useful, please support the project
Post Reply