Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
The store I am working on have slideshow images on homepage. I want to preload that slideshow images. How can I do this?
For this I need to access section data in head and this object is not accessible there.
Solved! Go to the solution
This is an accepted solution.
Yup, there is no liquid based solution.
You will need to build a service that checks for the LCP image then injects a preload hint. Or just manually change the preload hint each time the LCP image is changed.
This is an accepted solution.
Yup, there is no liquid based solution.
You will need to build a service that checks for the LCP image then injects a preload hint. Or just manually change the preload hint each time the LCP image is changed.
Yes, this will work as the slideshow images does not change frequently.
Thanks for the solution.
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025