![]() |
|
Placing varied height thumbnails in a straight row - 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: Placing varied height thumbnails in a straight row (/thread-5491.html) |
Placing varied height thumbnails in a straight row - joepinelli - 2009-07-17 My thumbnails are a constant width, but vary in height. When a shorter image appears on a row, on the row that proceeds it the image below that short image will push up and fill the void that is created. (I'm hoping that makes sense). So to get around this I used the following code: ` (Code to call thumb)
Thanks Placing varied height thumbnails in a straight row - sbillard - 2009-07-18 Well there is a function for creating a thumb within a specific container. See Placing varied height thumbnails in a straight row - joepinelli - 2009-07-20 I tried working with `printCustomAlbumThumbMaxSpace()' and it doesn't seem to be quite what I'm looking for. `
Thanks Placing varied height thumbnails in a straight row - acrylian - 2009-07-20 I admit I probably do not completly understand what you are actually trying to do and what the issue is.... Maybe a link would help with that. Placing varied height thumbnails in a straight row - joepinelli - 2009-07-20 sure, here is an example: http://www.peridotsavannah.com/products/index.php?album=seating. There should be 7 thumbnails in this album, but because of my funky ifelse coding it's messed up. Basically, I'm trying to get each row in it's own table or div so that the rows sit flush on one another. Previously, I had rows that looked like steps due to the inconsistent height of my thumbnails. I was able to get around this by setting my thumbnails div class to have a large, all-encompassing height. But by assigning such a large height, to compensate for all possible thumbnail heights, I would get huge spaces between my thumbnails. Placing varied height thumbnails in a straight row - acrylian - 2009-07-20 Ok. Sorry then, a container div like you did would be the only thing that I would have suggested. If the images are that different you might use a background color for that container div to "equalize" the space a little optically, but of course that is a design decision. Placing varied height thumbnails in a straight row - joepinelli - 2009-07-20 `
` Thank you both for your help. |