-
AuthorPosts
-
December 14, 2016 at 10:06 pm #724586
Is there anywhere that documents the behaviour of the different sliders in Media Elements, specifically in how the images expand to fill a space?
I’m building a new site and the client has a bunch of images of different sizes and aspect ratios that they want to show in a slider on a post, but I cannot get any of the sliders to display the images at their original size, they all automatically expand to fill the Container width.
The site’s Maximum Container Width is 1200px and there is no sidebar. I have an Easy Slider in a 1/1 container and select No Scaling for Slideshow Image Size, which “Choose(s) the size of the image that loads into the slideshow” as the Original Width x Original Height.
To me that means if one image is (say) 650px x 400 px then when the slider shows that image it should display it as 650px x 400px.
But it doesn’t, the slider expands every image, whatever its width (400px, 600px, 550px…) to fill the 1200px container width. Chrome Developer Tools tells me the image being loaded is 650px x 400px in size but the slider is expanding it to the full container width. Why?
When I specify “display as Original Width x Original Height” why is the slider not doing that? Why is the slider enlarging / expanding every image? If I specify, say, a square image of 180px x 180px in the slider it still expands the images on screen to 1200px wide. Why does it expand a 180px wide image to 1200px, when I tell it to show a 180px wide image.
Or more to the point, how do I setup a slider – any slider – to show the images in a slideshow at their original widths, or a width I specify, without being enlarged or expanded?
December 18, 2016 at 2:43 am #725779Hey zimbo,
Sliders fill the whole width, so if images are of lesser width, it will expand the image to fill the whole space, if you want to fill to have lesser width, you can use 1/4 or 1/2 column then place an easy slider inside it.
Best regards,
NikkoDecember 19, 2016 at 7:23 pm #726219So what is the point of the selection box Slideshow Image Size?
You’re saying – and this is the behaviour of the slider – that whatever image size I choose is expanded to fill out the outermost container space. Which is crazy.
The statement under the selector title says “Choose the size of the image that loads into the slideshow” which, of course, is what is happening but the slider behaviour should be “Choose the size of the image that is displayed by the slideshow”?
That is what the image size selector should do – surely?
December 20, 2016 at 11:37 pm #726820Hey!
You can see how the slider is described here: http://kriesi.at/themes/enfold/shortcodes/easy-slider/
Slideshow Elements
The Easy Slideshow element allows you to setup a simple slideshow within seconds, either at the top of your page, stretching across the whole viewport, or as a content element anywhere on the page.The purpose you have the option to select image sizes is for optimization, if you are using a 1/4 width column for example, you would likely choose a smaller image size than loading the full or large version.
Regards,
Nikko -
AuthorPosts
- You must be logged in to reply to this topic.