• Resolved Generosus

    (@generosus)


    Good Day,

    Is there any way you guys can add the lazy loading features listed below to your plugin?

    Perfmatters (plugin) offers them and they work great.

    Requested Features:

    1. Auto exclude images above the fold.
    2. Add preview thumbnails to YouTube, Hulu, etc. videos.
    3. Add a fade-in effect to lazy loaded images (with a separate filter to control the fade-in time).
    4. Exclude images from lazy loading using the image URL (without using your filter). Details: https://prnt.sc/ivZUmDyyOcBW
    5. Option to lazy load CSS background images.

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Support Gergana Petrova

    (@gpetrova)

    Hello @generosus,

    The Lazy Load exclude option using URL is available since version 7.1.3, for the moment however it happens via filter:

    add_filter( 'sgo_lazy_load_exclude_images', 'exclude_images_from_lazy_load );
    function exclude_images_from_lazy_load( $excluded_images ) {
        // Add the src url of the image that you want to exclude from using lazy load.
        $excluded_images[] = 'https://mydomain.com/wp-content/uploads/your-image.jpeg';
    
        return $excluded_images;
    }

    I have also passed your requests to the attention of our Developers, for further review.

    While we cannot provide an ETA and if they will be implemented, you may follow the Changelog of future versions.

    Best Regards,
    Gergana Petrova

Viewing 1 replies (of 1 total)
  • The topic ‘Lazy Loading Images | Features Request’ is closed to new replies.