Hi there,
this is my first question in this forum, so I hope, I can describe my problem properly enough.
I use Zenphoto on my website (brass band), and sometimes I have albums with sub-albums and images. I use a design of 3 columns and would like to have 12 elements on each page (= 4 rows). If the number of sub-albums is not divisible by 3, the number of the elements is different from 12, see here:
http://www.musikverein-zunsweier.de/galerie/rpk2009/
Is there any workaround for this problem?
Greetings from Germany!
Wete
I think it should match.
The width of the in which the thumbnails are placed should be responsible for the number of columns. In my example 3 columns are shown, so I wrote 3 in the theme settings for album thumbnails and image thumbnails. And in the intention to have 4 rows, I wrote 12 as value for "thumbnails on page", which works perfect for albums, that only contain images, albums or both, if the number of sub-albums is divisible by 3.
See here:
http://www.musikverein-zunsweier.de/galerie/waldfest2009/
3 sub-albums, 9 image thumbnails as requestet (sum = 12)
Greetings!
Wete
Settings for my theme:
albums: 3, 12 (thumbs per row, thumbs per page)
images: 3, 12 (thumbs per row, thumbs per page)
http://www.musikverein-zunsweier.de/galerie/
12 items (12 albums)
http://www.musikverein-zunsweier.de/galerie/waldfest2009/
12 items (3 albums, 9 images)
http://www.musikverein-zunsweier.de/galerie/rpk2009/
11 items (2 albums, 9 images)
I can't see any error in my settings, for album thumbs and image thumbs have the same width as you can see by look at the 2nd and 3rd example.
Greetings!
Wete
Hi sbillard,
sorry for the late answer: I think, you're not right. Look here:
http://wete.org/galerie/privat/zonstiges/
In this album, there is one sub-album (avatare) and many images. I use the standard theme "default" with the standard style sheet without any modifications. Theme settings are: albums: 2 thumbnails in each row, 6 thumbs on each page. Images: 5 / 15. COMBINED!
As you can see in the link above, in the first row is the sub-album followed by 3 pictures. There is no break between the albums and the images, no "clear all" or something. And as I said: I didn't change anything in this theme.
Greetings!
Wete
I fear I have to agree that something is not right with the calculation. I just tried and was also not able to create an even display. With an album with 1 sub album and 12 images I tried albums 2 thumbs row / 6 page and images with 6 per row and 12 per page. With one album I get that one album and only 6 image (3 too less to make the row even as it would be expected).
But I think there is no satisfying solution for this problem: Due to the variable CSS-Settings for album thumbs and image thumbs, zenphoto isn't able to determine, how many image thumbs would fit beside a non complete row of album thumbs. There should be sort of "break" (new line) after the album thumbs, if "combined" is selected.
Wete
solved:
Edit the album.php as following:
See: http://www.musikverein-zunsweier.de/galerie/rpk2009/
Wete