How to apply Lazyload effect of Prestige Theme when uploading image to product description

Topic summary

A user wants to leverage the built-in LazyLoad functionality of the Prestige Shopify theme for images uploaded to product descriptions. They’re asking whether adding specific class attributes or data-src to tags will activate the theme’s lazy loading feature.

A respondent suggests:

  • Adding both class and data-src attributes to images in the product description
  • Replacing {{image_url}} with data-src in the URL
  • Testing the implementation independently to verify it works

The discussion remains open with no confirmed resolution yet. The question centers on properly formatting image tags to trigger existing theme functionality rather than implementing new lazy loading code.

Summarized with AI on November 20. AI used: claude-sonnet-4-5-20250929.

There is already a LazyLoad function within the Prestige theme,

so I would like to utilize that function when uploading images.

If class or data-src is entered inside the tag,

will the corresponding function work?

Images in the ‘product-item.liquid’ file

Admin - Product - Description image

Please Help me

You can try to add both class and data-src in your product description and check by yourself. Make sure you replace {{image_url}} in data-src with image URL