Disable Lazy Loading for a Specific Background Image

Posted in: Newspaper
Post count: 364

Hi,

I have a single background image in my Cloud Template, placed above the fold, but it’s currently being loaded lazily (td_lazy applied). This causes a noticeable delay in the image rendering, which I’d like to avoid.

I want to disable lazy loading only for this specific image, while keeping the lazy loading functionality enabled for all other images on my site.

  • The image is part of a TagDiv Cloud Template
  • The td-lazy-img class and data-img-url attributes are applied automatically.

I attempted to override the lazy loading behavior with CSS, but the td_lazy JavaScript seems to reapply it.

Question:

Is there a built-in way to disable lazy loading for a specific background image in the TagDiv Composer or Theme Panel? If not, what would be the recommended method to handle this efficiently without affecting other images or performance?

Thank you for your help!

Post count: 21065

Hello!

Unfortunately, you can not deactivate only for an image. You can deactivate it all over the website only. There is no other method there.

Thank you!

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