sachinchoolur / lightslider

JQuery lightSlider is a lightweight responsive Content slider with carousel thumbnails navigation
http://sachinchoolur.github.io/lightslider/
MIT License
2.04k stars 1.52k forks source link

Can I use adaptiveHeight with lazy load? #293

Open ALTELMA opened 7 years ago

ALTELMA commented 7 years ago

Now I try to use adaptiveHeight, but not wroking with lazy load.

First I try to fixed height with CSS almost working, but not work for small image and then I try to set height for each image in slider with javascrit instead of this plugins. It work for all, but not for adaptiveHeight still problem when image unfinish to load.

Sorry if unclear question or incorrect grammar. Anyone can suggest for me, please?

ALTELMA commented 7 years ago

After I spend many hours to look at your code setTimeout(function () { if (!_touch) { settings.onAfterSlide.call(this, $el, scene); } }, settings.speed);

I see this make second slide pull height to max of slider again. Actually it work. Maybe will not work for lazy load