Remove loading=”lazy” from Product Page Hero Image in XStore Theme

This topic has 5 replies, 3 voices, and was last updated 3 weeks, 3 days ago ago by Tony Rodriguez

  • Avatar: Abhinandan
    Abhinandan
    Participant
    August 22, 2025 at 16:47

    Hi support team,
    On the product page of our site, the main hero image (featured product image) is loading slowly due to the loading=”lazy” attribute. I’d like to remove this lazy loading behavior only for the hero image, while keeping it for other images to maintain performance.

    Screenshot attached.

    Could you please guide me on how to exclude the hero image from lazy loading—whether via theme settings, a child theme override, or a filter hook?
    Thanks in advance!

    Files is visible for topic creator and
    support staff only.
    4 Answers
    Avatar: Abhinandan
    Abhinandan
    Participant
    August 22, 2025 at 17:24

    Additional Note:
    I’ve also noticed that some images are being requested on the homepage even though they’re not in use and don’t exist in the file system. For example, the first image shown in the screenshot is being loaded unnecessarily, possibly due to leftover references or theme logic. This is causing 404 errors and affecting performance.
    Could you please advise how to:
    – Exclude the hero image from lazy loading.
    – Prevent unused or missing images from being requested.

    Files is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 25, 2025 at 06:43

    Hello @Abhinandan,

    We hope this message finds you well.

    We would like to kindly inform you that we have already provided a response to your inquiry regarding the lazy-loading functionality. You may refer to our reply at the following link:
    https://www.8theme.com/topic/speed-optimization-for-product-page-and-home-page/#post-453002

    To disable the default WordPress lazy loading feature, please navigate to Theme Options → Speed Optimization section.

    Should you have any further questions or require additional assistance, please do not hesitate to reach out.

    Best regards,
    The 8Theme Team

    Avatar: Abhinandan
    Abhinandan
    Participant
    November 11, 2025 at 11:06

    Thanks for the support! My topic “Remove loading=”lazy” from Product Page Hero Image in XStore Theme” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    November 11, 2025 at 11:06

    Dear Abhinandan,

    Thanks for being part of our WordPress & WooCommerce community!

    We’re happy we could assist you. Your feedback truly matters — it helps us make XStore better, faster, and more reliable with every release.

    Together, we’re shaping a better WooCommerce experience for everyone.

    Topic closed.
    The 8Theme Team

  • Viewing 5 results - 1 through 5 (of 5 total)

The issue related to '‘Remove loading=”lazy” from Product Page Hero Image in XStore Theme’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.