Hello,
anybody please help about the options/effects section in nextGEN Gallery !!
i have selected custom and put this in code:
class="zoom" rel="%GALLERY_NAME%"
that works, "lightbox" is showing up single pictures, title is visible and everything is ok.
But when i display a gallery like here:
http://www.ame235.com/ame235/2009/12/05/theme-preview-made_in-theme/
well, no title under my "lightbox" image displayed.
So i tought i had to add something like:
title="%PICTURE_NAME%" or something like htis to the above code..
but i can't find the right trigger!!
Please help -_-'
http://wordpress.org/extend/plugins/nextgen-gallery/
BUMP! !!
please any help??
BUMP, Again.
still searching still not finding.
drinkits
Member
Posted 1 year ago #
Change this in file nextgen-gallery/view/gallery.php line 83
This line:
<a href="<?php echo $image->imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> >
To this:
<a href="<?php echo $image->imageURL ?>" title="<?php echo $image->alttext ?>" <?php echo $image->thumbcode ?> >
Now you see titles! Cheers!
seanphoto
Member
Posted 1 year ago #
Excellent... worked perfect. Is this the only way to do this or is there a way inside of NextGen itself (some checkbox or whatever)?
Thanks!
NextGen automatically takes the description of the image and uses that in the Lightbox (that's also what you can see in the code that drinkits placed).
So, an easier way would be to just copy the title into the Description fields (depends on how many pictures you have to call this an 'easier way').
If you have a lot of pictures changing the file drinkits mentioned is the quickest, but if you don't want to change that on every update of NextGen, you can do it in the way I described above.