bqworks / slider-pro

A modular, responsive and touch-enabled jQuery slider plugin that enables you to create elegant and professionally looking sliders.
MIT License
876 stars 387 forks source link

centerImage not working in 1.5.0? #290

Closed ballmannweber closed 3 years ago

ballmannweber commented 5 years ago

we worked a lot with sliderpro in the last three years – 1.4.0 on most projects. on a new website with version 1.5.0 we noticed that with the very same slideshow code we usually use the images will no longer be centered, regardless if we use the property centerImage:true or not.

when we revert the js back to 1.4.0 everything centers as expected.

we also rebuild the html-code and left out all custom-css because we thought there were some changes to that but that didn’t make the difference.

is that a bug?

ballmannweber commented 5 years ago

anybody listening?

davidghi commented 5 years ago

Hi. Are the images not centred inside the slide (individual slide) or is the selected slide not centred inside a carousel slider? In the first situation it could happen if the autoHeight option is enabled and in the second situation it could happen if visibleSize is not used to set the size/width of the entire carousel slider and forceSize:fullWidth is used instead.

Best, David