WordPress.org

Ready to get started?Download WordPress

Forums

BJ Lazy Load
Make it work with adaptive images (2 posts)

  1. eric34
    Member
    Posted 5 months ago #

    Hi,

    I've been using your plugin for a month now and it works nice. I had to add a style :

    <noscript>
    <style>
    .lazy-hidden {display:none!important;}
    </style>
    </noscript>

    I put it because no-javascript users were seeing a big white space in my website...Even if they are not many, I think it's an important issue to take in consideration.

    The only thing that would make it the best plugin ever is to add something more for responsive images.

    Now your plugin load the normal attachments included in the post even in responsive mode. So yes it loads the picture only when scrolling but it's still the big one (but html resized) loaded.

    Do you think you could use the "Medium, Small, thumbnails" sizes to load automatically a smaller image size for mobile users?

    JS will not easily do the trick to enable adaptive images but there is many tricks to achieve that (like Hammy plugin)...

    I think the main purpose of your plugin is to reduce the loading time. If you'd make it work with adaptive images also, that would be a huge improvement in performance !

    Are you planning to include such improvements in your next releases?

    Regards

    https://wordpress.org/plugins/bj-lazy-load/

  2. Bjørn Johansen
    Member
    Plugin Author

    Posted 3 months ago #

    It shouldn't load the normal attachments included in the post even in responsive mode, but rather create a new thumbnail.

    Anyhow, I am doing a remake of the whole responsive/HiDPI part which will work pretty nicely when it's out (hopefully soon).

Reply

You must log in to post.

About this Plugin

About this Topic