Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter loulantos

    (@loulantos)

    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.

    Thread Starter loulantos

    (@loulantos)

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: NextGEN Gallery] How do you add "data-id" to the html for a thumbnail?’ is closed to new replies.