Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » [Plugin: NextGEN Gallery] View images in lightbox direct from album page

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hoping somebody can help with this…

    When somebody clicks on the ‘Support Committee’ album on this page, I don’t want them to be taken to a new page or see the photos appear (as currently) on the same page.

    I’d like the first picture in the album to pop up and for the user to be able to scroll through the committee member’s images via the lightbox.

    Eternally grateful for any helps on this.


    Try Options >> Gallery >> The album will not link to a gallery subpage. The gallery is shown on the same page.

    I’m actually in the process of doing the same thing right now. I don’t have it completed, but I did a mini test and it seems to be on the right track.

    1. Read this thread (the second to last response). Thats what got me on track

    2. Instead of changing gallery.php, create a custom template to style how you want, nextgen instructions here

    3. You’ll probably end up wanting to change the look of the shutter/thickbox. I’m probably going with Thickbox See this thread

    I hope it all makes sense to you! Pretty straight forward, just a little tedious and time consuming

    Again, thanks for the pointers! Will take a look 🙂

    Managed to get the gallery page just showing 1 thumbnail image and when clicking on the thumbnail you can view the gallery via the lightbox – great and thanks!

    How can I now display the images on the gallery page inline instead of a list? I’ve tried updating CSS in a couple of places but to no success.

    view here

    Also, if possible, how can I display the gallery title as I have done below each gallery image but without it being a hyperlink?


    Glad you got it working!

    1. The CSS is the way to go, i added the following to my custom theme stylesheet – (my containing div has the id “content”, placing this before the image container class supersedes the default styling in the plugin folder.):
    #content .ngg-galleryoverview {
    float:left; /*THIS IS WHAT YOU WANT */
    margin:5px 10px 10px 0;
    clear:none; /*AND INCLUDE THIS*/
    #content .ngg-gallery-thumbnail img { /*REMOVES WHITE BORDER */

    2. To unlink the gallery title – did you create a custom gallery template in the nextgen view folder? if so, it looks like your title follows a tag after the image, all within the <a> tag – (remove br and put title outside of a tags. Paste code if you want me to point out where.

    I hope this helps!

    [Moderator Note: Please post code or markup snippets between backticks or use the code button.]

    – For number 1, don’t use #content, you’ll want to use #wrapper .ngg-galleryoverview instead. try with just float:left; and clear:none; to get it working and tweak from there.

    Works like a dream! Thank you sooooo much for all of your help 🙂

    For anyone else searching, here is a working solution including all of the code for the new template and a function to be added to your theme’s functions.php:


    The fact that this isn’t a standard function is amazing to me. Very cool for everyone to offer help. But what a convoluted and ridiculous solution for something that should be the most basic of functions in the first place.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: NextGEN Gallery] View images in lightbox direct from album page’ is closed to new replies.