Sent by Peter Bowyer on 30 January 2003 21:09
At 17:50 29/01/03 -0600, you wrote:
>This if fine for situations where the thumbnail images are all the same
>size and don't require a caption. Both yours and Mark's are such. In
>your case there is just no width constraint to a container.
And what does one do if the thumbnails are of different heights as well as
widths? I've encountered this problem, because some of my photos are in
portrait format rather than landscape format, and I have a script on the
server create the thumbnails rather than do it by hand, so trimming all of
them to the same shape isn't an option. I'm not happy with the current
solution (at <http://www.narrow-gauge.co.uk/gallery/5>) because it means
supplying a fixed height to each box, and if one box is taller than the
rest due to the text below the image taking up 3 lines rather than 2 then
the row of images below is disrupted.
Thoughts on how to approach this? I adapted my code originally from the
ALA article.
Peter
--
Narrow Gauge Heaven - news, photos, railway directory and discussion forums!
http://www.narrow-gauge.co.uk
Glenbranter - Scottish narrow gauge in 009
http://glenbranter.narrow-gauge.co.uk