Member
Member
Connie   2008-07-16, 08:23
#1

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

Administrator
Administrator
acrylian   2008-07-16, 08:40
#2

Could link to a screenshot maybe? I don't understand the issue somehow, my svn installs look absolutly normal.

Member
Member
Connie   2008-07-16, 09:16
#3

I think I am coming closer to the error-description:

  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:
`` and the images were on the next page, unreachable without navigation ;=)

I hope it is clearer now

Administrator
Administrator
acrylian   2008-07-16, 09:22
#4

Did you try to remove or change this part on album.php? $firstPageImages = normalizeColumns('2', '6');
This feature often can cause "trouble". Here is info about that: http://www.zenphoto.org/documentation/zenphoto/_template-functions.php.html#functionnormalizeColumns

Member
Member
Connie   2008-07-16, 09:37
#5

this is helping.. I did not know about that...

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

Member
Member
sbillard   2008-07-16, 16:18
#6

The directive should match the CSS in terms of the columns. If the CSS shows 3 albums in a row the album column parameter should be 3. If the CSS shows 6 images in a row the image column parameter should be 6.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.