Answer the question
In order to leave comments, you need to log in
How to optimize image loading in carousel?
There is a slider on the main page, which includes 30 pictures. It is clear that all this takes a very long time to load. Site on Bitrix. How to make images load by 3, and then load when scrolling?
Answer the question
In order to leave comments, you need to log in
Use a slider where there is support for gradual loading, let's say the wow slider has a similar option, the link is a slider for 100 photos.
There are probably others, you just have to look.
Or add your own wrapper :)
For example www.anthonymclin.com/demand-image-loading-jquery#....
Just use progressive jpeg and don't break your brain in vain.
But if you really want to, then do not add pictures to the DOM right away. The specific implementation will depend on your slider.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question