Support » Plugin: lazysizes » Images Not Lazy Loading

  • Resolved martychc23

    (@martychc23)


    Hi, This is the only lazy load plugin I have tried that doesn’t lazy load my images.

    I read the faq, but i’m not sure how to modify that with my theme.

    I need a lazy load plugin that works with the picture element, as all the others except for one, do not support this element.

    I am having trouble with the Extra/Divi theme by Elegant Themes. Do you know how to make your plugin compatible with this theme?

    I have found references to wp_get_attachment_image in several places in my theme.

    How do you recommend changing it to get_lazysizes_html( wp_get_attachment_image($id) as you suggest?

    Is there any reason this plugin doesn’t natively support wp_get_attachment_image?

    Like I said, this is the only lazy load plugin (and i tried them all) that didn’t work on my images.

    So it seems like this will limit the audience and uptake of this plugin, as many people will try it, see it doesn’t work, and then delete it.

    Which is a shame as if it does the same thing as the lazysizes plugin on github, then this is one of the best lazy load plugins available.

    Please make it more compatible so more people can benefit from it.

    Thanks

Viewing 15 replies - 16 through 30 (of 69 total)
  • Plugin Author Patrick Sletvold

    (@16patsle)

    Hi,

    I haven’t tested with that theme yet, but I’ll see if I can do that after I implement support for wp_get_attachment_image. I’m assuming that’s the problem with that theme, but I haven’t looked into it yet.

    Oh, my mistake then. I thought the recent update had implemented wp_get_attachment_image support. Please let us know when this is supported. Thanks

    @16patsle If you need the Divi/Extra themes let me know and i can provide them.

    Hi Patrick 🙂

    How’s the development of the plugin going? When will the next update come?

    Have a nice week!

    Plugin Author Patrick Sletvold

    (@16patsle)

    Hi!

    I have been doing some work on the support for wp_get_attachment_image, and progress is good. After cleaning up a bit, I might be able to release another beta version if you want to test. Then I just need to make sure everything is working correctly before I can release the finished version. I don’t have a specific ETA, but hopefully I will get the beta out this week at least.

    – Patrick Sletvold

    @dutze

    You may want to try one of the following plugins. They both work for me and also support the picture element:

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

    https://wordpress.org/plugins/lazy-loading-responsive-images/

    @16patsle Thanks for your engagement, I’m looking forward to the next update!

    @martychc23 I’m fine with waiting for the update, but thanks anyway 🙂

    Plugin Author Patrick Sletvold

    (@16patsle)

    Good news!

    I have released a new beta version on Github, v0.5.0, which has support for get_attachment_image. I’ve made it opt-in though (can be enabled on the settings page), since it doesn’t provide a fallback for when javascript is not available. This is simply because I have yet to figure out a good way to add such a fallback, because I only have the possibility to modify the get_attachment_image‘s attributes.

    Feel free to try it out, and let me know if you discover any bugs or other problems. After I’m more confident everything works as it should, I’ll release the update on wp.org

    Hi Patrick,

    I tested out 0.5.0 (the link you provided leads to 0.4.0) but my images still don’t lazy load with your plugin. Perhaps it’s some theme incompatibility?

    Plugin Author Patrick Sletvold

    (@16patsle)

    Hi!

    Did you remember to enable it in the settings? If so, could you send the theme so I can do some debugging. I have a couple of suspicions as to why it might not work.

    Also, for future reference, here is the correct link to v0.5.0.

    – Patrick Sletvold

    Yes, I enabled the setting.

    How can i send you the theme?

    Plugin Author Patrick Sletvold

    (@16patsle)

    You could try sending it by email to support@multitek.no. Thanks.

    – Patrick Sletvold

    email sent, thanks

    Plugin Author Patrick Sletvold

    (@16patsle)

    Hey everyone!

    Just a quick update on progress. I’ve managed to track down what it is that doesn’t work correctly on the Extra/Divi theme, but I don’t yet know the specifics, or whether or not this occurs on other themes. Hoping for a quick fix, but will keep you updated.

    – Patrick Sletvold

    Thanks for keeping us updated.

Viewing 15 replies - 16 through 30 (of 69 total)
  • The topic ‘Images Not Lazy Loading’ is closed to new replies.