I noticed that the images are always presented at the next page, when an album contains images + subalbums
even when the template does not output the sub-album-loop the pagination is present and the images are at the next site
it is of no effect first to output the images in the template and then the albums...
it is independent from the template, I used default and stopdesign ...
I can't tell if that is the same situation as macalter describes...
Comments
1) the theme is defined to show up 9 albums / page and 20 images / page
2) I have 9 subalbums, most are published, some are unpublished
as you can see:
6 subalbums published, 3 unpublished:
http://www.webdeerns.de/ZwischenAbLage/zenalbum/6albenok.jpg
7 subalbums published, 2 unpublished:
http://www.webdeerns.de/ZwischenAbLage/zenalbum/7albennok.jpg
I think,
- the pagenavigation should start when there are more albums than defined for the theme
so as I have 9 subalbums in total, it somehow counts the unpublished albums as well
and to me it seems to start to count from 0 ...
- the pagenavigation should not take the images of that album to the next page
I tried to suppress the pagenavigation from the template, but even then the images did not show up, they were just unreachable..
I took out this code:
`<?php printPageListWithNav("« ".gettext("prev"), gettext("next")." »",true,true); ?>` and the images were on the next page, unreachable without navigation ;=)
I hope it is clearer now
This feature often can cause "trouble". Here is info about that: http://www.zenphoto.org/documentation/zenphoto/_template-functions.php.html#functionnormalizeColumns
so I published all albums, I have 9
I set the directive to `$firstPageImages = normalizeColumns('9','9');` and it still breaks the page, I set the directive to `$firstPageImages = normalizeColumns('10','9');` and everything sits on the same page
so it is ok for that now, but I still think it starts to count from 0... ;=)
I will try to understand that directive, as I am not sure how many subalbums my people will want to place in an album ...