-
Sorry, hopefully this is an okay place to post this question. I have a couple of websites that use Swiper, and today both of them stopped working. By stopped working I mean the swiper element stopped loading the images. The src for the image is in the data-src attribute, but not being loaded in place. They're on separate hosts, separate builds. The only shared asset is the Swiper cdn.
Did something change today? It looks like there's a new CDN on the website
But changing that didn't help anything. Any help would be much appreciated. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Looks like the way lazy loading works has been changed. Now it's all based off the native loading="lazy", and no data-src element. In my case this was why there were no errors, but also no pictures loading. Note to self, specify a version number when linking to a cdn. |
Beta Was this translation helpful? Give feedback.
Looks like the way lazy loading works has been changed. Now it's all based off the native loading="lazy", and no data-src element. In my case this was why there were no errors, but also no pictures loading.
https://github.com/nolimits4web/swiper/blob/master/CHANGELOG.md#lazy
Note to self, specify a version number when linking to a cdn.