Fluid images - portrait/landscape
Posted
by
Richard
on Stack Overflow
See other posts from Stack Overflow
or by Richard
Published on 2012-11-24T22:54:57Z
Indexed on
2012/11/24
23:03 UTC
Read the original article
Hit count: 216
I have a simple slideshow (list items) but a combination of portrait and landscape images. I'm working on a fluid grid so everything is, essentially, 100% of itself.
I'm wondering if there's a way for all the images to remain the same height, but the widths stay true to their proportions. All the images have the same height - 2000px - when uploaded.
See the site here: http://goo.gl/BdFUj
See here for the desired output: http://d.pr/i/HJUH
Thanks, R
© Stack Overflow or respective owner