Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Optimocha

    (@optimocha)

    Thanks @ertott, can you provide a URL for us to test?

    Thread Starter ertott

    (@ertott)

    For example https://creativeukrainemag.com

    i tested site in different browsers in incognito mode.
    Chrome – downloading images
    Firefox – not every time
    Opera – downloading images

    But this problem i saw after only after update your plugin and not touching other plugins/theme config/wordpress config

    Plugin Author Optimocha

    (@optimocha)

    @ertott this is an interesting case, for sure.

    May I ask you to edit one line of code to see if it fixes things? If you can, I need you to deactivate SBP and then open the following file:

    /wp-content/plugins/speed-booster-pack/includes/classes/class-sbp-lazy-loader.php

    And go to line 37:

    wp_enqueue_script( 'sbp-lazy-load', SBP_URL . 'public/js/lazyload.js', false, '17.7.0' );

    And change the line with the following:

    wp_enqueue_script( 'sbp-lazy-load', SBP_URL . 'public/js/lazyload.js', false, '17.7.0', true );

    After saving the file, clear the cache and try again, see if Firefox handles lazy-loading better this time.

    Alternatively, you can try disabling every SBP option except for lazy loading and see if it’s fixed. If it helps, then we can deduce that another feature of SBP is conflicting with the lazy loading feature.

    Thread Starter ertott

    (@ertott)

    wp_enqueue_script( 'sbp-lazy-load', SBP_URL . 'public/js/lazyload.js', false, '17.7.0', true );

    it works for me.

    Alternatively, you can try disabling every SBP option except for lazy loading and see if it’s fixed. If it helps, then we can deduce that another feature of SBP is conflicting with the lazy loading feature.

    i will test this later if you don’t mind

    Plugin Author Optimocha

    (@optimocha)

    @ertott while it’s broken, do you get any errors in your browser’s error console?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Update broke lazy load’ is closed to new replies.