Hi,
if album has a long name (two rows in frontend)and album is leftmost (in frotend = 1. album, 4. album, 7. album,...), in next thumbs row there is only one thumb align to center.
Zenphoto 1.4.5.5
zpArdoise 1.4.5(not only in this build)
Screenshot:
http://skaut.zamberk.cz/images/galerie/zp_bug.jpgCan anybody confirm this? Thanks. Mates
Comments
1. Reserve more space for possible more text. Drawback: A lot of empty space if titles are short.
2. Clear the floating after each row so the space can adjust to the largest title. This is what I would recommend.
Any solution yet?
the basic solution is to shorten titles...
I will have a look on the 2nd way of acrylian.
I think I need some advice.
I am unable to find the way to solve this issue by clearing the floating.
`
$count = '';
next_album/next_image loop { // don't remember what it is
$count++;
printImageThumb();
if($count == 3) } //the desired number of items per row - depends on the css!
echo "
"; // an a bit ugly empty div works as well
$count = '';
}
}
`
Atention no working code example!
This way you reset the float after each row so the space is flexible measured after the item with the highest height value (= the one with the longes title). Otherwise each item must have the exact same height which is nearly impossible unless you truncate titles.