Title: rel %GALLERY_NAME%
Last modified: August 21, 2016

---

# rel %GALLERY_NAME%

 *  [mwag](https://wordpress.org/support/users/registered_user/)
 * (@registered_user)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/rel-gallery_name/)
 * **I am using WP 3.6 and ngg 2.0.14.**
 * In my theme I display a picture and set the rel manual:
 * `rel="shadowbox[set_XX]"` <<< XX is the ID of the gallery
 * Then I also add a gallery from ngg and my rel settings are as followed:
 * `rel='shadowbox[%GALLERY_NAME%]'`
 * —
 * The problem is, before the output from ngg was something like
 * `rel="shadowbox[set_XX]"` <<< XX is the ID of the gallery
 * BUT NOW since 2.0 the output of ngg is:
 * `rel="shadowbox[d1bfac53944642b466362c9b63ab4014]"` (or similar strings)
 * —
 * My question is:
 * How can I refer to this new string? How can I get this string from the database,
   so I can setup a manual rel as well, like I could before?
 * Any help is very welcome! Thanks!
 * [http://wordpress.org/plugins/nextgen-gallery/](http://wordpress.org/plugins/nextgen-gallery/)

The topic ‘rel %GALLERY_NAME%’ 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/)

## Tags

 * [gallery name](https://wordpress.org/support/topic-tag/gallery-name/)
 * [nextgengallery](https://wordpress.org/support/topic-tag/nextgengallery/)
 * [NGG](https://wordpress.org/support/topic-tag/ngg/)
 * [REL](https://wordpress.org/support/topic-tag/rel/)

 * 0 replies
 * 1 participant
 * Last reply from: [mwag](https://wordpress.org/support/users/registered_user/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/rel-gallery_name/)
 * Status: not resolved