How do I preload the first image on product pages? And the first image in the slider?

CoWa
New Member
4 0 0

Thanks for the advice and code here, I’ve been trying to find how to do this for a while as web.dev always recommends it on my product pages. Do you add this code to the header tag on the theme liquid file, or the product page liquid file? Thanks in advance! 

0 Likes
bestelectric11
New Member
2 0 0
Then you use the equal picture dimensions as you do on the product web page, so that the resulting Best Electric Smoker will fit what you use at the product page.
0 Likes