• Resolved zemase

    (@zemase)


    Is there an option to change the value of the threshold for images to be loaded via lazy loading? It seems like they just get loaded when they become visible which might be performant but isn’t a nice user experience and might add to layout shifts. Would love to just set an amount of pixels to be added so content is being lazy loaded when for example 300px below the screen fold.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Currently, WP-Optimize does not have a built-in option to adjust the lazy loading threshold directly. Lazy loading functionality is designed to load content as it comes into the viewport, which is generally efficient for performance, but we understand your concern about user experience and layout shifts.

    For more advanced customization, you could consider implementing a third-party lazy loading library like LazySizes. It allows you to set thresholds and fine-tune lazy loading behavior, including preloading content before it becomes visible. If you’re comfortable with custom coding, you can integrate this with WP-Optimize without conflicts.

    Thread Starter zemase

    (@zemase)

    Ah, okay, that’s a bummer. 🙁 Is a feature like that planned for the future?

    But thanks for the suggestion! I’m going to take a closer look at it, but this probably isn’t the right fit for me either. Looking for alternatives then.

    While this feature is not currently on our roadmap, I’ll share your feedback with our team for consideration in future updates. We truly understand the value of a customizable lazy loading threshold in enhancing both performance and user experience. I truly appreciate you bringing this to our attention. Thank you!

    Thread Starter zemase

    (@zemase)

    Thanks for bringing the topic into future development discussions. Looking forward to a possible implementation. Have a great day and thanks again for the great plugin!

    Thank you very much : )

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Adjust Screen Threshold for Lazy Loading?’ is closed to new replies.