Member
Member
kagutsuchi   2009-10-04, 17:22
#1

Is there any way to have images still appear on album.php if there are already the maximum number of albums?

What I want is that there is one column of at most three albums and then next to it is five columns of at most 15 images. The problem is that, for each album, a row is taken away of images. How would I stop this from happening so that even if there are albums it would still display up to 15 images?

For example, in my gallery right now there is one album with four subalbums and 16 images. I want each page of this album to have at most three albums and 15 images, so the first page would have three albums and 15 images and the second page would have one album and one image. Right now, it displays three albums on the first page (no images), 1 album and 10 images on the next page, and then six images on the third page.

(Sorry if I haven't explained this well enough)

Thanks!

Administrator
Administrator
acrylian   2009-10-04, 17:39
#2

Please search the description here: http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionnormalizeColumns

Member
Member
kagutsuchi   2009-10-04, 17:51
#3

Hmm, I've read this page a few times but still can't quite get it right. It seems that album.php will show only albums until there are not enough albums left to fill the page. Then it shows the transition page with both albums and images, then after that only images. What I want is to have albums and images on all pages.

Administrator
Administrator
acrylian   2009-10-04, 18:02
#4

Then remove that function and the $firstpageimages parameter from the loop.

Member
Member
kagutsuchi   2009-10-04, 18:21
#5

When the function call and parameter are removed it makes it four pages: the first has three albums, the second has one album, the third has 15 images, and the last page has one image.

The code I'm using for this:

`

             ">


             ">











            ">

                >

`

Administrator
Administrator
acrylian   2009-10-05, 08:34
#6

You of course have to adjust the options for images / albums per page, too.

Member
Member
kagutsuchi   2009-10-05, 15:43
#7

The images/albums_per_page options are set at 3 and 15 respectively yet no change; there are still four pages. It might help to note that I'm on 1.2.6 release (4335).

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