Support » Plugin: Smush - Lazy Load Images, Optimize & Compress Images » Exclude Image Nested in Parent Divs from Lazyload

  • Resolved Adrian


    Would like to know how can I specify something like below to exclude certain image from lazyloading:

    .parent-div img

    Tried adding this but img is being moved to the next line so I’m guessing this is not possible from the UI.

    Reason being, I’m using Elementor and the custom id/class added to an element is being added to the wrapper (div) instead of the img tag. Haven’t found a work around for this yet so creating this topic here to see if there’s any workaround I can use for Smush.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Jonathan – WPMU DEV Support


    Hi @adrianching,

    Thank you for contacting us.

    You will be able to exclude the class of image that you do not want to have lazy loaded. In order to better assist you, could you please provide us with the page URL where you have the element and specify the exact image you want excluded.

    Jonathan S

    Plugin Support Patrick – WPMU DEV Support


    Hi @adrianching

    I hope you are doing well and safe!

    We haven’t heard from you in a while, I’ll mark this thread as resolved.

    Feel free to let us know if you have any additional question or problem.

    Best Regards
    Patrick Freitas

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