I am faced with a light slider displaying images of varying heights. When I enable isAdaptiveHeight
, it adjusts the height based on the image size automatically, but this doesn't meet my preferences.
What I desire is to set a fixed height for all images, and if an image is smaller than that fixed height, I want it centered within the designated space. You can view my attempt at achieving this in this fiddler link: http://jsfiddle.net/mbjvc5u8/1/.
The issue arises when the first image is small while the others are large; I do not wish for the UI to adjust. Instead, I aim for a fixed height for the lightslider with a centered image. Despite my efforts, I have been unsuccessful in achieving this desired outcome.