Pages (2): 1 2   
Member
Member
Wete   17-01-2012, 09:36
#1

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

Administrator
Administrator
acrylian   17-01-2012, 10:48
#2

The settings of albums/images per page must match the html/CSS setup of the theme. There are options for that (given the theme does not override them which is possible).

Member
Member
Wete   17-01-2012, 11:25
#3

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

Administrator
Administrator
acrylian   17-01-2012, 11:37
#4

Zenphoto has an option for "separate" or "combined" for albums with images and albums. If combined is selected a transition between albums and images is calculated and sometimes does not match. Try setting "separate" therefore. Options > Theme

Member
Member
Wete   17-01-2012, 11:41
#5

I did try the sperate option, but I do not like it.
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

Administrator
Administrator
acrylian   17-01-2012, 12:18
#6

Did you try an official theme? GEnerally that works. Feature request or possible bug reports on the bug tracker please.

Member
Member
sbillard   17-01-2012, 18:07
#7

There is a different setting for album thumbs than for image thumbs since they may well not be the same size. And there is a correct calculation of these items if you have correctly specified.

Member
Member
Wete   17-01-2012, 18:38
#8

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

Member
Member
sbillard   17-01-2012, 20:08
#9

This is a problem with your theme. You really should not be mixing the album/image thumbs on the same line. Quite confusing and not what the computations are projecting.

Member
Member
Wete   20-01-2012, 08:15
#10

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

Administrator
Administrator
acrylian   20-01-2012, 11:31
#11

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

Member
Member
Wete   20-01-2012, 13:18
#12

Sorry, wrong copy/paste above: Settings are:
2 album-thumbs each row, 6 on the page
6 image-thumbs each row, 18 on the page
= 3 rows

Member
Member
Wete   20-01-2012, 13:23
#13

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

Member
Member
sbillard   20-01-2012, 17:57
#14

Yes, indeed. That is whatI did say. You should put a break after the albums. That is a theme issue.

Member
Member
Wete   21-01-2012, 07:32
#15

This "theme issue" also concerns the "default" theme.

Wete

Member
Member
Wete   21-01-2012, 07:35
#16

solved:
Edit the album.php as following:

See: http://www.musikverein-zunsweier.de/galerie/rpk2009/

Wete

Administrator
Administrator
acrylian   21-01-2012, 11:57
#17

It is btw meanwhile fixed in the default theme (differently actually via the css file)

Member
Member
Wete   21-01-2012, 14:13
#18

In 1.4.2 or in a nightly build?

Administrator
Administrator
acrylian   21-01-2012, 14:24
#19

Of course nightly build, otherwise it would be 1.4.2.1 naturally...

Member
Member
Wete   21-01-2012, 21:59
#20

OK.
I like Zenphoto!

Greetings from Germany!
Wete

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.