Request to Disable Lazy Load and Remove data-src Attribute from Images
-
Unable to Remove
data-srcAttribute – Lazy Load Still Active After Disabling EverythingHello,
I’m facing an issue with image lazy loading on my WooCommerce site and I cannot find where it’s coming from.
My goal is to completely disable lazy loading and remove the
data-srcattribute from product images. 🔹 My Setup- WordPress site
- WooCommerce active
- Hosting: Hostinger with CDN enabled
- All optimization / cache / lazy-load plugins are deactivated
- I even switched to a default WordPress theme for testing
🔹 The Problem
Even after disabling plugins and changing the theme, my product images still output this HTML:
<img src="https://example.com/wp-content/uploads/2020/03/image.jpg" class="wp-post-image" data-src="https://example.com/wp-content/uploads/2020/03/image.jpg" data-large_image="https://example.com/wp-content/uploads/2020/03/image.jpg" data-large_image_width="760" data-large_image_height="760" >I understand that
data-large_imageis normal for WooCommerce zoom/lightbox, but I cannot find the source ofdata-src.Important points:
- It still appears after deactivating all plugins
- It still appears after changing the theme
- WordPress core normally uses
loading="lazy", notdata-src - Hostinger CDN does not seem to inject HTML
So I’m confused about what is generating
data-src. 🔹 What I Already Tried- Deactivated all plugins
- Switched to a default theme
- Cleared browser cache
- Purged Hostinger CDN cache
- Searched theme files for
data-src - Checked JS files for lazy load logic
But
data-srckeeps appearing in View Source. 🔹 What I Want- Fully disable image lazy loading
- Remove the
data-srcattribute from WooCommerce product images - Understand what system (core / WooCommerce / cache / JS) is adding it
🔹 My Question
Where does
data-srccome from if no plugins and no theme lazy load are active?
Is WooCommerce adding this internally now, or is it coming from cached HTML / CDN optimization?Any guidance on how to properly disable it would be greatly appreciated.
Thank you.
The blog I need help with is: (visible only to logged in users)
-