Lazy load carousel first image not loaded #213
-
As per doc I am using data-lazy-src for lazy load images: <div id="myCarousel" class="carousel">
<div class="carousel__slide">
<img data-lazy-src="https://lipsum.app/id/1/1200x675" />
</div>
<div class="carousel__slide">
<img data-lazy-src="https://lipsum.app/id/2/1200x675" />
</div>
</div> However, first image it's not correctly loaded, see here: For now I have solved by not lazy loading first image, then it works: But I didn't see anything in docs about this. The strange thing is that works fine here https://new.uovodiluc.ch/ but the initialization code and markup it's the same. Did I missing something? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, Are you sure you are using the latest version? As you can see here - https://fancyapps.com/playground/vt - it works fine. btw, you can safely update to v4.0.X, because this project follows SemVer (https://semver.org/). |
Beta Was this translation helpful? Give feedback.
Hi,
Are you sure you are using the latest version? As you can see here - https://fancyapps.com/playground/vt - it works fine.
btw, you can safely update to v4.0.X, because this project follows SemVer (https://semver.org/).