Title: Lightboxes and class naming
Last modified: August 21, 2016

---

# Lightboxes and class naming

 *  [rkgneuschul](https://wordpress.org/support/users/rkgneuschul/)
 * (@rkgneuschul)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/lightboxes-and-class-naming/)
 * According to advanced options: lightbox, when using [for example] the Shutter
   lightbox, the class that is to be used in the code would be ‘class=”shutterset_%
   GALLERY_NAME%”‘ however what actually appears in the output is something different,
   such as ‘shutterset_66b86b7a1e3759ecc89de4330fa6623b’
 * Since the _NNN suffix for each different gallery is random this makes it complex
   to call the class or use its name in a structured manner in any user-defined 
   code.
 * Can anyone explain why the gallery name is not being used?
 * Is the description in the Lightbox options a statement that ‘class=”shutterset_%
   GALLERY_NAME%”‘ wrong? Or will a call to the gallery name work?
 * [http://wordpress.org/plugins/nextgen-gallery/](http://wordpress.org/plugins/nextgen-gallery/)

Viewing 1 replies (of 1 total)

 *  [admintiger](https://wordpress.org/support/users/admintiger/)
 * (@admintiger)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/lightboxes-and-class-naming/#post-4321530)
 * I also am having a problem with %GALLERY_NAME% not returning gallery names. In
   my case, rel=”photo[%GALLERY_NAME%]” becomes rel=”photo[set_1]”, rel=”photo[set_2]”,
   etc. in webpage HTML source code, where “set_1”, “set_2”, etc. are valid gallery
   names.

Viewing 1 replies (of 1 total)

The topic ‘Lightboxes and class naming’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [admintiger](https://wordpress.org/support/users/admintiger/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/lightboxes-and-class-naming/#post-4321530)
 * Status: not resolved