WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: NextGEN Gallery] Limit number of images to a page - with a twist! (9 posts)

  1. sweigold
    Member
    Posted 5 years ago #

    Version 2.6.3 of WordPress specifically and 0.99.1 of NextGen Gallery.

    First of all, NextGen gallery ROCKS! Thanks for such a great plugin. I am a photographer, and many of my posts include NextGen galleries with many images. Often there are 20 or more images and sometimes as many as 100.

    I prefer to have them display in my posts as a gallery, but if I set the number of images per page limit to 0 to disable pagination, the post looks cluttered with all the thumbnails.

    I like setting the limit to 4 or 6 and getting the pagination effect. The problem is, when you click on the image to get the larger version you can only click the previous and next links to go through the images on that page, not the entire group.

    I'd like to limit the number of thumbnails per page to say 4 or 6, but be able to click through all of them when I'm looking at the large version. Is this possible? Thanks for the help!

    Steve

  2. sweigold
    Member
    Posted 5 years ago #

  3. sweigold
    Member
    Posted 5 years ago #

    The instructions in my link in the last post work fine with one exception. In the text file provided for download there is an error in the last line of instructions. The line to be added says:

    $out .= createNoShows($noshows_after, $thumbcode); < / code >

    The line should really be:

    $out .= createNoShows($noshows_after, $thumbcode);

    Loose the closing code tag. Probably a cut and paste error

  4. sweigold
    Member
    Posted 5 years ago #

  5. sweigold
    Member
    Posted 5 years ago #

    For those following along at home, this modification works for Nextgen Gallery v0.99. It does NOT work for the latest version (1.0.2 as of this post). The routine that is modified in these instructions has changed significantly and these instructions no longer apply. I'm trying to make a fix for the new version. If and when I do, I'll post it...

    Steve

  6. sweigold
    Member
    Posted 5 years ago #

    I've created a fix that seems to work for version 1.0.2. The discussion and instructions are here:

    http://wordpress.org/support/topic/228743

    Steve

  7. Dgold
    Member
    Posted 5 years ago #

    I see no one else replied, but I wanted to just say thanks for passing on the information. I will probably try this.

  8. sweigold
    Member
    Posted 5 years ago #

    Glad to help!

  9. agreda
    Member
    Posted 5 years ago #

    And I am glad you found my post above helpful. Thanks for finding the error – cut&paste error indeed – and publishing a fix.

Topic Closed

This topic has been closed to new replies.

About this Topic