Forums

NextGEN Gallery
Want to set the number of images per gallery, by gallery (3 posts)

  1. Dom
    Member
    Posted 3 months ago #

    Hi All,

    I'm hoping someone can shed some light, either on how to do this, or where I should look:

    I am looking to have a gallery referenced in two different places. In the first (on the post), I want to only show 3 images and use pagination to let the user move through all the images.

    At the same time, on a linked page, I want the user to see ALL the gallery image thumbnails.

    Imagine you could either click on a thumbnail from the post and launch lightbox, or you could click a "see all" link and go to a page listing ALL the images in the gallery.

    In the admin panel, I know that I can limit the number of images seen in a gallery (currently set to 3) and I can turn on AJAX Pagination, and it's awesome. I love the function. But I don't know how to create a gallery (from a different template maybe?) that lists every single image thumbnail.

    Help?

    Thanks,
    Dom

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. edlund
    Member
    Posted 3 months ago #

    You should be able to use the short code on a page
    [nggallery id=x images=0]

    Where x is your gallery id and the images parameters control the number of images. 0 means show all. However, if you set a different number than the default you will get problems with the ajax pagination.

  3. Dom
    Member
    Posted 3 months ago #

    OH MY GOSH.

    Thanks Edlund! I can't believe I didn't try that. I think I spent four hours yesterday trying to (a) edit the template file to show all image thumbnails though the limit was set to 3, (b) edit the ngg-functions.php file, and (c) come up with my own fancy jQuery slider.

    Jeeze. *facepalm*

Reply

You must log in to post.

About this Plugin

About this Topic