Disable lazyload for specific images

ThemeBurn SupportForumsOpenCart ThemesKiddos OpenCart ThemeDisable lazyload for specific images

This topic has been marked as resolved.

Dear TB-support,

when lazyload is active this adds some classes tom the images and inline styles go away sometimes. This leads to trouble in some cases. Thus the question: Is there a way to disable lazyload for specific images?

I did work with a WP theme once where you could do this by adding an attribute to the img tag. Is this possible with BurnEngine?

Thanks & best,
Torge

August 30, 2018 at 11:58 am #65266

Hi Torge,

Perhaps you are talking about image inserted from Text blocks in Page Builder? Lazyloading heavily relies on image size. If you strip the width / height attributes images will no be loaded lazily. Another workaround is to wrap the image in a span (or div) and apply inline styling there.

BR,
ThemeBurn team

September 3, 2018 at 4:32 pm #65296

Dear TB-support,

perfect, that useful advice. Thanks a lot!

Cheers,
Torge

September 3, 2018 at 4:38 pm #65298

Glad to be of assistance, mate!

BR,
ThemeBurn team

September 3, 2018 at 4:43 pm #65301
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.