• Resolved HontoNoRoger

    (@hontonoroger)


    Hello,

    I have a bug, which doesn’t display the right amout of image pages for a thumbnail gallery.
    http://japanblog.jp.pn/bilder/japan-2010/ should have about 51 pages, only 17 are visible.

    After some trial & error debugging I found out, that the

    $total

    variable in

    nextgen-gallery\products\photocrati_nextgen\modules\nextgen_pagination\mixin.nextgen_basic_pagination.php

    is not using the maximum image count from the database, which I changed to 1600 and saved it, but the default value of 500, which makes it 500 pictures / 30 images per site = 17.

    But you can get to the other pages if you change the URL manually.

    I’m using WordPress 3.8 with NextGEN Gallery by Photocrati 2.0.40.

    Could somebody with knowledge on the code please look into it? Thanks!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter HontoNoRoger

    (@hontonoroger)

    Alright, works now.

    It seems old galleries don’t use the global value for Maximum image count but an own one, copied from the global value while adding the gallery to a page.

    What helped was a trick from Cais:

    “There are two things you can try … first, look under Gallery > Other Options > Miscellaneous … clear image cache (this may not change anything but it will not hurt).

    The other option would be to remove the current gallery inserted into the post/page; update; then, re-insert the gallery into the post/page. This should then use the new value you set.

    Just to note, any gallery inserted via the ATP will hold all settings at the time the gallery was inserted.”

    Thanks.

    Plugin Contributor photocrati

    (@photocrati)

    @hontonoroger – Thanks for sharing this … and for letting the community know you sorted out this issue, too.

    – Cais.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pagination incorrect for NextGEN Thumbnail Gallery’ is closed to new replies.