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:)
Porticoguardiagrele.jpg: 527x640, 108k (2009-02-13 12:30) Prokudin-Gorskii-12.jpg: 703x640, 198k (2009-02-13 12:30) Prokudin-Gorskii-19.jpg: 740x640, 169k (2009-02-13 12:30) Purine_Nucleoside_Phosphorylase.jpg: 512x640, 80k (2009-02-13 12:30)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
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 15 16

Bees_Collecting_Pollen_2004-08-14.jpg: 800x600, 112k (2009-02-13 12:30) Port_wine.jpg: 800x600, 96k (2009-02-13 12:30) Esztergom.bazilika.lights.jpg: 800x600, 71k (2009-02-13 12:30) DuplexScaling.jpg: 800x600, 140k (2009-02-13 12:30)

Subpage links below: perpagenav=2
(:thumblist px=74 perpage=3 order=-name perpagenav=2 supercache=1:)
MtHood_TrilliumLake.jpg: 800x635, 95k (2009-02-13 12:30) Mcron.jpg: 1033x775, 162k (2016-05-16 12:27) MarsSunsetCut.jpg: 800x242, 11k (2009-02-13 12:30)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
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 12 13

Port_wine.jpg: 800x600, 96k (2009-02-13 12:30) DuplexScaling.jpg: 800x600, 140k (2009-02-13 12:30) Robby_Naish_a-1.jpg: 800x534, 107k (2009-02-13 12:30) Purine_Nucleoside_Phosphorylase.jpg: 512x640, 80k (2009-02-13 12:30) Uss_iowa_bb-61_pr.jpg: 800x533, 173k (2009-02-13 12:30)

1 2 3 4 5 6 7 8 9 10 11 12 13

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.)