Tagged: avia, easy slider, max height
Hello.
Is there a way to make the Easy Slider to show images with fixed height and image ratio scale and adjust to width of the window?
Right now, when images landscape images and portrait images are mixed in a image slider, portrait images gets too big and extend too big. I want the images in the sliders to have fixed height.
I tried adding max-height value to the images in the slides using custom css, but it just squishes the images.
I would really appreciate your help
Hey lejund,
So you want the slider to adjust size based on the image orientation?
Best regards,
Jordan Shannon
Kind of but what I want is for the slider to have fixed height because when image is in portrait orientation, the slider tries to fill the full width of the slider and it makes the image way too big and extend far below which isn’t very nice.
I tried assigning max-height to the slider img but that just squishes the image. It makes the image to the assigned height but it stretches the image to fill the width of the slider.
Need your help.
Hi,
Due to the nature of the slider getting the image 100% perfect on mobile a is little tricky. It may be more beneficial to create a mobile scaled image and use media queries to show that on smaller devices.
Best regards,
Jordan Shannon