Support » Plugin: Lazy Loader » Sizes attribute calculations

  • Hi Florian

    Have you ever considered extending the plugin to include the other major functionality that the lazysizes script seems to offer, namely to automatically calculate the sizes attribute for responsive images?

    Most WordPress themes and even WordPress itself do a very poor job of providing good sizes markup for images and it can make a massive performance difference to page loading times.

    I see quite a few WP plugins make use of the lazy loading functionality of lazysizes but none of the sizes calculation ability. On the face of it, it looks like something like your plugin which can process complete markup could provide a good foundation for adding or replacing sizes markup.

    Probably outside the scope of what you had in mind when you built the plugin, but I find it interesting that no one has tried to integrate this given the need for it and ever growing focus on performance.

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


    Hi Jonas,

    thanks for asking! Sounds like a candidate for an additional plugin setting. I will give it a try and check how good it works.


    Thread Starter Jonas


    Thanks @florianbrinkmann

    That would be amazing if you got it to work.

    If you ever do find time to work on it and want some assistance with testing and getting feedback then give me a shout. I can deploy across different client dev sites and evaluate the results. I’ve on-and-off been consulting with devs working on custom theme development projects to ensure that markup is correctly implemented, so have a good sense of what to look out for.

    Best regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sizes attribute calculations’ is closed to new replies.