Title: shortcode question
Last modified: August 21, 2016

---

# shortcode question

 *  Resolved [Mark](https://wordpress.org/support/users/markurbaninteractiveus/)
 * (@markurbaninteractiveus)
 * [12 years ago](https://wordpress.org/support/topic/shortcode-question-3/)
 * Just upgraded nextgen to 2.0+, broke about 50 posts with thumbnail galleries 
   in them. Discovered that something like this…
    <img class=”ngg_displayed_gallery
   mceItem” src=”[http://mysite.com/nextgen-attach_to_post/preview/id–1788&#8243](http://mysite.com/nextgen-attach_to_post/preview/id–1788&#8243);
   alt=”” /> … replaces this… [nggallery id=gallery_name] That’s fine, but these
   new ids don’t correspond to the ones displayed in the manage galleries section
   of the plugin. Where would I find id–1788 if I wanted to rapidly fix all my posts?
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [12 years ago](https://wordpress.org/support/topic/shortcode-question-3/#post-4899059)
 * [@mark](https://wordpress.org/support/users/mark/) – Your quickest fix would 
   be more likely to change the `gallery_name` to the `gallery_id` (number) … the
   placeholder `<img>` tag references are relative to the specific ATP inserted 
   display and do not directly correspond to the gallery ID as the reference also
   includes pointers to all of the settings used for that specific display.
 * – Cais.
 *  Thread Starter [Mark](https://wordpress.org/support/users/markurbaninteractiveus/)
 * (@markurbaninteractiveus)
 * [12 years ago](https://wordpress.org/support/topic/shortcode-question-3/#post-4899086)
 * Ah, I see. Yup, that’s easy. Thanks Cais. That should be explained somewhere 
   in a really big and bright font. 🙂
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [12 years ago](https://wordpress.org/support/topic/shortcode-question-3/#post-4899089)
 * [@mark](https://wordpress.org/support/users/mark/) – Thanks for that idea … I
   think we may have underestimated some of the use cases for the NextGEN Legacy
   shortcode structures (the one you are using) when we translated them into the
   latest version of NextGEN Gallery.
 * Most options and parameters were recreated so the backward compatibility would
   be more or less painless but we did not find a suitable solution for those using
   the `gallery_name` (or `album_name`) as their `ID` parameter.
 * – Cais.
 *  Thread Starter [Mark](https://wordpress.org/support/users/markurbaninteractiveus/)
 * (@markurbaninteractiveus)
 * [12 years ago](https://wordpress.org/support/topic/shortcode-question-3/#post-4899127)
 * Yeah, I’m always surprised when I find out I’m using a plugin differently than
   intended. gallery_name is better than gallery_id in my particular environment,
   but only slightly. Still a great plugin.
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [12 years ago](https://wordpress.org/support/topic/shortcode-question-3/#post-4899131)
 * [@mark](https://wordpress.org/support/users/mark/) – Thanks! We appreciate your
   understanding on this.
 * – Cais.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘shortcode question’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/shortcode-question-3/#post-4899131)
 * Status: resolved