Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » click on one thumbnail to show a whole gallery

Viewing 3 replies - 1 through 3 (of 3 total)
  • @nhbeachguy What you are asking is not an option, so it’s impossible without code hacks.
    The only thing that comes at my mind is (via ATP function from the editor) put one single image of the gallery choosing “1” and select “yes” in add hidden images. In this way the gallery will opens from a single pic, but the pagination will be automatically activated too, so you’ll have to exclude it with CSS.
    The bad side of this method is that the page load could slow.

    Thanks for the reply @tizz… But I did find something late last night that works and is fairly simple to implement…

    Found it as the last answer on this page

    Simply add this style to your nggallery.css file to display only the first image in the gallery. When you click the thumbnail, the lightbox effect will display all of the images. No PHP code needed:
    /* For NextGen Gallery. Displays thumbnails on a page, and when you click each thumbnail opens it’s own gallery. Normally when you insert a gallery, it displays all the thumbnails in the gallery. This hack will hide all the thumbnails except the first one. Make sure you don’t display [show slideshow], because that will be the first child. */

    div.ngg-gallery-thumbnail-box { display:none; }
    div.ngg-galleryoverview div:first-child { display:block; }

    Plugin Author photocrati


    @nhbeachguy – Thanks for the follow-up and sharing what you found. Although referencing NextGEN Legacy (per the date) it is still an interesting work-around for the idea you have.

    – Cais.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘click on one thumbnail to show a whole gallery’ is closed to new replies.