loulantos
Member
Posted 1 year ago #
Hi,
I'm trying to use Nextgen Gallery with the jQuery Sandbox plugin, but one step involves adding a 'data-id' parameter to 'img' tags, and I can't find the NGG file that produces the HTML for how thumbnails are displayed. Could anyone let me know what that is?
http://wordpress.org/extend/plugins/nextgen-gallery/
loulantos
Member
Posted 1 year ago #
Okay, I've figured this out. It's in the view/gallery.php file that you edit this information.
Does anyone know how to add "$gallery->title" to the img tag though? I've tried using it, and it's empty. I just want to be able to add the name of the gallery to the class so that certain galleries have specific css.
loulantos
Member
Posted 1 year ago #
I just used the "$gallery->anchor" property instead. That seemed to work fine as a value unique to that specific gallery. I'd still be curious how to get the "$gallery->title" involved, though.