Support » Plugin: Lazy Loader » Lazysizes 5.0

  • Resolved lozula

    (@lozula)


    Hi there,

    Lazysizes 5.0 comes with support for native lazy loading, which as I’m sure you’re aware is starting to appear in browsers. I believe there’s an additional plugin for this (https://github.com/aFarkas/lazysizes/tree/gh-pages/plugins/native-loading)

    I wondered if the Lazy Loader plugin was planned to be updated to support this feature? No rush of course, just curious so I can plan πŸ™‚

    Thanks!

    Laurence

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Florian Brinkmann

    (@florianbrinkmann)

    Hey Laurence,

    good question πŸ™‚ Yes, I think that makes sense. I would include it as an additional option and modify the markup when enabled, and – if the user wants – he can adjust the config manually via a code snippet.

    While writing this, maybe it is time to add a textarea to the plugin settings to allow users to insert config modifications. What do you think?

    Best,
    Florian

    lozula

    (@lozula)

    Hey Florian,

    That’s a great idea. I do it manually in my site code at the moment, but having a location to do it in the plugin would be tidier for sure πŸ™‚

    Thanks so much for the quick response and a great plugin!

    Laurence

    Plugin Author Florian Brinkmann

    (@florianbrinkmann)

    Hi Laurence,

    you’re welcome, thanks for the feedback πŸ™‚ I will try to add this in the next days and come back to you with a beta version for testing, if that would be okay πŸ™‚

    Best,
    Florian

    lozula

    (@lozula)

    Of course, I would be happy to try it out πŸ™‚

    Plugin Author Florian Brinkmann

    (@florianbrinkmann)

    Hi Laurence,

    I added the options and released a beta of it (https://github.com/florianbrinkmann/lazy-loading-responsive-images/releases/tag/v4.1.0-beta.1 – the lazy-loading-responsive-images.zip). Would you give it a try and check if it is working for you? πŸ™‚

    Thanks,
    Florian

    Hi @florianbrinkmann

    The plugin won’t activate. It throws the following error:

    Parse error: syntax error, unexpected ‘)’ in /www/wp-content/plugins/lazy-loading-responsive-images/src/Settings.php on line 156

    I’m still happy to test of course, just let me know when you are ready πŸ™‚

    Plugin Author Florian Brinkmann

    (@florianbrinkmann)

    Hey Laurence,

    thanks a lot and sorry for answering late. Thanks for testing, and sorry for the error. I am not really sure why it appeared. I tried something and released a new beta, but wanted to test it first on my own site before you try it again πŸ™‚ I will try to do this tomorrow and – if it works for me – come back to you.

    Best,
    Florian

    No worries, and no rush Florian. Just wanted to let you know I’m happy to help πŸ™‚

    Plugin Author Florian Brinkmann

    (@florianbrinkmann)

    Thanks, really appreciate it! ❀ πŸ™‚

    Plugin Author Florian Brinkmann

    (@florianbrinkmann)

    Hi Laurence,

    I downloaded the second beta ZIP (https://github.com/florianbrinkmann/lazy-loading-responsive-images/releases/tag/v4.1.0-beta.2) and installed it on a test site. No fatal error, so I hope it should be fixed. Could you give it another try?

    Thanks,
    Florian

    Hey Florian!

    Yep, seems to work fine. Running on my live site with no issues. I also tested it with the Chrome Beta with the lazy load flags enabled, and the page performs as expected with the browsers lazy load taking over the lazy load functions πŸ™‚

    So all looks good to me!

    Laurence

    Plugin Author Florian Brinkmann

    (@florianbrinkmann)

    Hi Laurence,

    great, thanks for testing! πŸ™‚ I will release the new version to the repo as soon as I have fixed one more issue (to get this via the normal update routine, you need to manually decrease the version number in the main plugin file, or overwrite the files manually via FTP after the final release. I will write here to let you know when it is released πŸ™‚ ).

    Best,
    Florian

    Plugin Author Florian Brinkmann

    (@florianbrinkmann)

    Hey Laurence,

    just wanted to let you know I released the final version (contains lazysizes 5.1.0).

    Will mark the topic as resolved.

    Best,
    Florian

Viewing 14 replies - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.