click for the code
(Colors of background and text are the customers wishes, but the cats are ours!)
Click the picture for a larger version
$max is the maximum number of columns, five in this case:
![]() | ![]() | ![]() | ![]() | ![]() |
| one | two | three | four | and here is the fifth |
![]() | ![]() | ![]() |
| six | eight |
Lets see if it works with one foto:
![]() |
| nine |
Here we have more cats:
![]() | ![]() | ![]() | ![]() | ![]() |
| ten what happened to seven? | eleven | twelf | thirteen |
Cats you know already in a 3x3 block, $max is 3:
![]() | ![]() | ![]() |
| two | three | four |
![]() | ![]() | ![]() |
| and here is the fifth | six |
![]() | ![]() | ![]() |
| eight | nine | ten what happened to seven? |
More cats, smaller tumbnails, now $max = 8 is possible
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 15 | 16 | 17 | 18 | 19 | 20 |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 25 | 30 |
![]() | ![]() | ![]() | ![]() | ![]() |
| 31 | 32 | 33 | 34 | 35 |