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
Comments
The width of the <div> 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
Maybe you could add the correct calculation of items in combined albums as a feature request for an upcoming version of Zenphoto. ;-)
Thanks for helping!
Wete
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, <div> for album thumbs and image thumbs have the same width as you can see by look at the 2nd and 3rd example.
Greetings!
Wete
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
2 album-thumbs each row, 6 on the page
6 image-thumbs each row, 18 on the page
= 3 rows
Wete
Wete
Edit the album.php as following:
<div id="images" style="clear: both">
See: http://www.musikverein-zunsweier.de/galerie/rpk2009/
Wete
I like Zenphoto!
Greetings from Germany!
Wete