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:)
OspreyNASA.jpg: 800x611, 62k (2009-02-13 12:30) Peablue_October_2007_Osaka_Japan.jpg: 598x400, 35k (2009-07-23 00:58) Polarlicht_2.jpg: 800x521, 58k (2009-02-13 12:30) Port_wine.jpg: 800x600, 96k (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

Breslau_Ring_Ostseite_1890-1900.jpg: 800x603, 158k (2009-02-13 12:30) Windbuchencom.jpg: 800x601, 105k (2009-02-13 12:30) Mcron.jpg: 1033x775, 162k (2016-05-16 12:27) BlechnumColensoi.jpeg: 1033x775, 162k (2016-05-16 12:25)

Subpage links below: perpagenav=2
(:thumblist px=74 perpage=3 order=-name perpagenav=2 supercache=1:)
Neuschwanstein_Castle_LOC_print_rotated.jpg: 800x584, 148k (2009-02-13 12:30) NMMP_dolphin_with_locator.jpeg: 532x640, 132k (2009-02-13 12:30) NASA_Apollo_17_Lunar_Roving_Vehicle.jpg: 640x640, 104k (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

Wrightflyer.jpg: 800x477, 42k (2009-02-13 12:30) Orange_juice_1_edit1.jpg: 450x640, 58k (2009-02-13 12:30) Polarlicht_2.jpg: 800x521, 58k (2009-02-13 12:30) Citrus_fruits.jpg: 800x527, 159k (2009-02-13 12:30) Fractal_Broccoli.jpg: 800x600, 73k (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.)