Support » Plugin: Flying Images by WP Speed Matters » When another lazy loader is active, webp doesn’t load

  • Resolved lvnt

    (@lvnt)


    Pictures didn’t load from Statically’s CDN when _another_ lazy load plugin was active, they were served from my server
    Placeholder loads, my pictures don’t

    Also, I can still see imageholder(only for a few miliseconds, but it’s there anyways)
    For now, I need to deactivate the other lazyloader and use yours solely

    Can we workaround these somehow?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Gijo Varghese

    (@gijo)

    @lvnt you can’t use two lazy loading plugins at the same time. Either use Flying Images’ lazy loading or the one that you said.

    Hi @gijo Obviously we can’t use both at the same time 🙂 it wasn’t what I meant though

    * Flying Images is active(All functions are ON except only lazy-loading is turned off)
    * Second(other) plugin is used for lazy loading

    If you may check the code pls, only placeholder loads from Statically, but website photos are still served from the server disk
    src="https://cdn.statically.io/img/mydomain.com/wp-content/plugins/native-lazyload/assets/images/placeholder.svg"
    data-src="https://mydomain.com/wp-content/uploads/sites/2/2017/02/Ajams-Real-41-1200x600.jpg"

    Rest of the code is here

    • This reply was modified 2 months, 2 weeks ago by lvnt.
    • This reply was modified 2 months, 2 weeks ago by Steve Stern.
    Plugin Author Gijo Varghese

    (@gijo)

    @lvnt which is the other lazy loading plugin you’re using?

    It is Native Lazyload from Goggle

    Plugin Author Gijo Varghese

    (@gijo)

    @lvnt I checked the code in detail.

    Flying Images only rewrites src and srcset. However, the above lazy loading plugin puts the actual URL in data-src and puts a placeholder image src.

    To fix this we’ve to rewrite data-src and data-srcset too. But each lazy loading plugin uses different attributes. For example, some use data-lazy-src.

    So it will be hard to fix since there are too many possibilities. I would suggest using the Flying Images’ lazy load.

    I’d thought maybe dividing jobs into two parts would help the webpage load smoother, somehow idk. I will do as your suggestion I’ll leave Flying Images alone to do its job.
    Thank you for your awesome plugin and for checking the source codes.

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