Title: dynamic gallery side bars?
Last modified: August 20, 2016

---

# dynamic gallery side bars?

 *  [mightyaswell](https://wordpress.org/support/users/mightyaswell/)
 * (@mightyaswell)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/dynamic-gallery-side-bars/)
 * Is it possible to use tags or some other method along with a nextgen side bar
   widget to make the gallery displayed in the side bar specific to a page.
 * For example, if I have galleries for the cities Portland, New York, and Paris
   and I have pages for Portland, New York and Paris, can I use a side bar widget?
   I dont particularly want the gallery “in” the post, but rather on the page’s 
   side bar… possible?
 * [http://wordpress.org/extend/plugins/nextgen-gallery/](http://wordpress.org/extend/plugins/nextgen-gallery/)

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

 *  [lapman17](https://wordpress.org/support/users/lapman17/)
 * (@lapman17)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/dynamic-gallery-side-bars/#post-3233630)
 * I am curious about this too, I am trying to use the NextGen Widget and love that
   it can display random images, is there a way to make that slideshow be a link
   to your actual gallery page?
 *  [smigliorato](https://wordpress.org/support/users/smigliorato/)
 * (@smigliorato)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/dynamic-gallery-side-bars/#post-3233631)
 * **mightyaswell**
    Generally, setting per page sidebars is something that your
   theme will or will not support.
 * If your theme does support it, you would be able to create multiple sidebars 
   and assign them to a page on while your editing the page.
 * If your theme doesn’t support it, you could either ask the author to add support
   or try to do it yourself.
 * You could hack together some php in your sidebar file to display a different 
   widget depending on the page, but that isn’t really the “Right Way.”
 * **lapman17**
 * From what I recall (not at work with access to the WP install currently) clicking
   the image brings up a lightbox with the bigger version, right?
 * Changing the link would require editing the php file that creates the widget 
   to change the link it generates. This also might be possible with a NextGen gallery
   plugin…
 * Here are a few NextGen plugin options:
    [ Sorry, but a plugin plugin?!?
    - [NGG Sidebar Widget](http://wordpress.org/extend/plugins/ngg-sidebar-widget/)
    - [SideNails](http://wordpress.org/extend/plugins/sidenails/)
    - [NextGen Gallery Sidebar Widget](http://wordpress.org/extend/plugins/nextgen-gallery-sidebar-widget/)-
      Hasn’t been updated in over 2 years, be careful.
 *  [lapman17](https://wordpress.org/support/users/lapman17/)
 * (@lapman17)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/dynamic-gallery-side-bars/#post-3233640)
 * Thanks smigliorato,
 * But those plugins change the orientation of the thumbnail to almost a distortion
   level where it looks awful. It did allow me to make the image clickable, but 
   not a nice clear image. Looks like I will need to go into the php and update 
   it, which is what I wanted to stay away from. I am building the site for someone
   that is not very knowledgeable on updating code, so I want to keep this as simple
   as possible. I am sure I could hard code this, but I would like to stay away 
   from it if possible.
 *  [smigliorato](https://wordpress.org/support/users/smigliorato/)
 * (@smigliorato)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/dynamic-gallery-side-bars/#post-3233641)
 * –wordpress cut off my link Sorry, but a plugin plugin, that’s why it didn’t make
   sense. I lost the link and I can’t be bothered to recreate it right now–
 * I hate editing the php code too. I actually had someone on the support forum 
   with a little fix they needed. I decided I would just use javascript to do the
   dirty work.
 * This way, you don’t need to edit NextGen’s files directly. That means it should
   also persist through updates. You could use a plugin like NextGen Custom Fields
   to attach the URL and then use javascript magic to change the links on the fly.
 * I would definitely be interested in working on this. I would be able to package
   it up as a plugin as well, so you can activate and deactivate it like normal.
   Basically, that means no digging around and pasting in code.
 * Please email me at:
 * steven ( at ) simplicity ( dot ) is
 * if you would want to try and work on this.

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

The topic ‘dynamic gallery side bars?’ 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/)

 * 4 replies
 * 3 participants
 * Last reply from: [smigliorato](https://wordpress.org/support/users/smigliorato/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/dynamic-gallery-side-bars/#post-3233641)
 * Status: not resolved