Shopify themes, liquid, logos, and UX
Hello all, I’ve had an issue when uploading my images to my website with lazy loading
the images show alt text before appearing.
on my home page I’ve fixed this already by removing the lazy loading code in the Multicolumn theme code etc. so they appear fine now but it’s just these product images I can’t seem to find the code where the lazy loading is. I’ll tag a photo of what happens. This only happens for 1-2 seconds once you load the product then it loads successfully but I need the photos to appear instantly. The photos are only around 100Kb anyway so there’s no load on the site. And the site is only small anyway. Any help is appreciated. DAGNORAK.com
Solved! Go to the solution
This is an accepted solution.
Hi @DAGNORAK
You can change the lazy loading of the product page by following on the instructions below.
1. From you Admin page, go to Online store > Themes > Click the three dots on the theme you want to edit > Edit code
2. Go to Snippet folder and open the product-media-gallery.liquid file
3. Change the lazy_load for both main and thumbnail images, see image below
I’ve tried this I just can’t locate it
This is an accepted solution.
Hi @DAGNORAK
You can change the lazy loading of the product page by following on the instructions below.
1. From you Admin page, go to Online store > Themes > Click the three dots on the theme you want to edit > Edit code
2. Go to Snippet folder and open the product-media-gallery.liquid file
3. Change the lazy_load for both main and thumbnail images, see image below
I'm in the Expanse theme and I feel like I'm in the right place, I just can't figure out how to remove the lazy loaded functionality. I tried replacing img class with "image" and it just breaks stuff.
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025