Fixed Height of Images

Created on 2 January 2014, over 10 years ago
Updated 26 March 2024, 3 months ago

I'm trying to create a slideshow of images where some are landscape and some are portrait. What I would like is for the maximum height of the images to be 250px. I can't seem to figure out how to do that. I use images that are only 250px tall, but the module blows them up to fit the width. How do I make it where the height is fixed?

πŸ’¬ Support request
Status

Active

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States lvthunder

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡«πŸ‡·France rondev

    #8 works for me. Thanx @ohthehugemanatee

    For the moment I added

    .flexslider .slides img {
      width:unset !important;
      max-width: 100%;
      margin: auto; 
    }
    .flexslider .slides .views-field {
      width:100%; 
    }

    with CSS Injector (Asset Injector)

Production build 0.69.0 2024