![]() |
|
Albums and images on album.php - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Albums and images on album.php (/thread-5941.html) |
Albums and images on album.php - kagutsuchi - 2009-10-04 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! Albums and images on album.php - acrylian - 2009-10-04 Please search the description here: http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionnormalizeColumns Albums and images on album.php - kagutsuchi - 2009-10-04 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. Albums and images on album.php - acrylian - 2009-10-04 Then remove that function and the $firstpageimages parameter from the loop. Albums and images on album.php - kagutsuchi - 2009-10-04 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: `
` Albums and images on album.php - acrylian - 2009-10-05 You of course have to adjust the options for images / albums per page, too. Albums and images on album.php - kagutsuchi - 2009-10-05 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). |