Support » Plugin: Smush - Compress, Optimize and Lazy Load Images » Preventing lazyload reflow

  • Resolved hiddenpinksoul


    First of all, thanks for your great plugin!

    I have an issue with lazyload reflow. How can I prevent content reflow?
    I searched for it and found something to do that, for example, set default images for src tags like this:

    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACCAQAAAA3fa6RAAAADklEQVR42mNkAANGCAUAACMAA2w/AMgAAAAASUVORK5CYII=" data-src="IMAGE'S URL MUST BE LOADED WITH LAZY LOAD" alt="Lazy loading test image" />

    How can I add this feature to your plugin? I wanna set a default image before it has been loaded with lazyload to prevent reflowing.

    I really wanna use your plugin but this issue make our website ugly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Anton Vanyukov


    Hi @hiddenpinksoul,

    This is what Smush is doing for images that are lazy loaded. Or you want a way to overwrite the src?

    Best regards,

    Plugin Support Nastia – WPMU DEV Support


    Hello @hiddenpinksoul

    I hope you are doing well!

    We haven’t heard back from you for a while now so we’ve marked this ticket as resolved. If you do have any followup questions or require further assistance feel free to reopen it and let us know here.

    Kind regards,

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