Home >Web Front-end >JS Tutorial >Repeated loading error of jQuery lazyload and how to fix it_jquery
You can also know by analyzing the code.
The main reason is that written on the page once loaded, applies for the image address from the server and loads the large image.
If you want to achieve the original effect, the address to be loaded written on the page must not be the address of a large image, and we can store the real image address data in the alt attribute.
The correct example is as follows: