Wordpress Gallery using alt tags as pic captions instead of title tags
Okay,here's my challenge. I set up a Next Gen image gallery in Wordpress. When you click on an image it enlarges and has a caption underneath it, which is taken from its title tag. 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 also from the title tag. But he still wants the image description to show up as the caption when you click on the image and enlarge it.
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 java script file,shutter-reloaded.js, for the image caption to pull the alt tag instead of the title tag. I've played around in this file for awhile and I believe that's what controls/triggers it. I can
Or maybe I'm way off and it's not in that js file. Any help would be appreciated. Thanks in advance.
Thanks for taking a look at it! I tried your suggestion and unfortunately it didn't work.
It must have something to do with it though. Because when I did make that change the pic caption disappeared all together. It just didn't swap it with the alt.
So you are probably on to something or pointed in a good direction.