Want image captions to be from img ALT tags not title tags
-
Okay,here’s my challenge. My client doesn’t like how when you roll over an image in the gallery a tooltip shows up with the image’s descritpion, which is taken from it’s title tag. But he still wants the image description to show up as the caption when you click on the image and enlarge it.
Here is a link to a page in the site, if you roll over the first image in the gallery, you’ll see what I’m talking about and hopefully it’ll make sense. https://mbigelowphotographer.com/wp/engagements
I’ve tried to find ways on hiding browser default tooltips but I’ve had no luck. So I thought of placing the image’s description in the images alt tag instead of the title tag. Which is fine, I took care of that in the gallery.php file.
But now I can’t figure out where in the shutter-reloaded.js, for the image caption to pull the alt tag instead of the title tag. I’m hoping its a simple solution that I’m just overlooking since I am only vaguely familiar with javascript.
Or maybe I’m way off and it’s not in that js file. Any help would be appreciated. Thanks in advance.
https://www.ads-software.com/extend/plugins/nextgen-gallery/
- The topic ‘Want image captions to be from img ALT tags not title tags’ is closed to new replies.