Skip to content

Add smart lazy loading #1973

@ghost

Description

I am wondering if it would be possible to add this feature to the already in place lazy loading.

Smart lazy loading would load neighbouring images/slides based on the direction of the user’s movement.

I am thinking this could be achieved by making an array of the slides in a section, detect what slide is currently shown and load the previous two and next two slides immediately from that array but no other images/slides from the array.

Like this when going through the slides a bit faster and using lazy load, users would not have to wait for the current slide to be loaded and would also not see the loading animation of the current slide.

Perhaps the amount of images/slides to be smart lazy loaded could be controlled through an option setting of the smart lazy loading function so that developers can adjust the amount of images to load before and after the current slide.

Currently when using the lazy load in place by fullPage things look like this. The user can actively see the image loading as well as is being told bottom left of browser that the image is loading.
Basically the use is told to wait.

fullpage lazy loading image 001

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions