Perpage

This page demonstrates the new parameters perpage= and perpagenav=.

If you have a very big number of pictures attached to a page, it may be better to split them to a number of subpages. You could do it by manually creating the pages and using the count= parameter, but as of version 20081120, there is the perpage= parameter which lets you automatically split the thumblist and a place link trail below it for easy access.

Default, same as perpagenav=2
(:thumblist px=74 perpage=4 supercache=1:)
Hurricane_Dennis_on_July_7_2005_1550_UTC.jpg: 498x640, 95k (2009-02-13 12:30) ISS_Aug2005.jpg: 800x541, 124k (2009-02-13 12:30) Ill_Miss_You_Dad_by_Cecilio_M._Ricardo_Jr.jpg: 547x640, 67k (2009-02-13 12:30) Kaernten_CoA.svg.png: 566x640, 200k (2009-02-13 12:30)
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Subpage links above: perpagenav=1
(:thumblist px=74 perpage=4 order=ratio perpagenav=1 supercache=1:)
1 2 3 4 5 6 7 8 9 10 11 12 13 14

Life_Saint-Austremoine_Issoire_bottom_n2.jpg: 652x640, 159k (2009-02-13 12:30) Crops_Kansas_AST_20010624.jpg: 668x640, 171k (2009-02-13 12:30) Prokudin-Gorskii-12.jpg: 703x640, 198k (2009-02-13 12:30) Bridge_declarer.jpg: 900x792, 127k (2009-02-13 12:30)

Subpage links below: perpagenav=2
(:thumblist px=74 perpage=3 order=-name perpagenav=2 supercache=1:)
Prokudin-Gorskii-19.jpg: 740x640, 169k (2009-02-13 12:30) Prokudin-Gorskii-12.jpg: 703x640, 198k (2009-02-13 12:30) Porticoguardiagrele.jpg: 527x640, 108k (2009-02-13 12:30)
Subpage links both above and below: perpagenav=3
(:thumblist px=74 perpage=5 order=none perpagenav=3 supercache=1:)
1 2 3 4 5 6 7 8 9 10 11

image-with-exif.jpg: 2100x1500, 360k (2010-02-21 13:49) Crops_Kansas_AST_20010624.jpg: 668x640, 171k (2009-02-13 12:30) Ill_Miss_You_Dad_by_Cecilio_M._Ricardo_Jr.jpg: 547x640, 67k (2009-02-13 12:30) ISS_Aug2005.jpg: 800x541, 124k (2009-02-13 12:30) Kaernten_CoA.svg.png: 566x640, 200k (2009-02-13 12:30)

1 2 3 4 5 6 7 8 9 10 11

The split lists can be supercached too.

Note that this feature will be better used with only one thumblist in the page. (If there are more than one thimblists, and the number of their subpages is different, some thumblists may display nothing. See Perpage?page=16 where the number 16 is more than the existing subpages in 3 out of 4 thumblists.)