[Plugin: NextGEN Gallery] filename as the title of the anchor tag
-
NextGEN Gallery is awesome!
When you upload a zip file of images it creates this HTML in the gallery for each image:
<a href="http://website.com/wp-content/gallery/imagefilename.jpg" title=" " class="shutterset_set_2" > <img title="imagefilename" alt="imagefilename" src="http://website.com/wp-content/gallery/thumbs/thumbs_imagefilename.jpg" width="150" height="150" /> </a>
Which is great it creates the title of the thumbnail to be the same as the filename meaning it pops up when the visitor hovers over the thumbnail.
However, I would like the visitor to see the filename on the larger view so when they click the title is “imagefilename” so it appears on the shadowbox/lightbox as the “caption”. For this to happen I need the HTML to be:
<a href="http://website.com/wp-content/gallery/imagefilename.jpg" title="imagefilename" class="shutterset_set_2" > <img title="imagefilename" alt="imagefilename" src="http://website.com/wp-content/gallery/thumbs/thumbs_imagefilename.jpg" width="150" height="150" /> </a>
The difference being that the title of the a href tag is “imagefilename” and this causes lightbox/shadowbox to put the image name as a sort of “caption” above the image which is what I want.
I could go through the gallery, in Gallery > Manage Gallery and copy and paste in the Alt & Title Text / Description but I have hundreds of images so I’d rather not do that.
Is there anyway to have the filename as the title of the anchor tag?
Sorry for long-winded explanation
- The topic ‘[Plugin: NextGEN Gallery] filename as the title of the anchor tag’ is closed to new replies.