Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Good day,
can someone please assist me - in my shopify code it gives me this msg:
use the native loading= "lazy" attribute instead of lazysizes shopify
Solved! Go to the solution
This is an accepted solution.
Hello Lizanne,
You have to add the attribute loading='lazy' in img tag. i.e <img src="a.jpg" loading="lazy">.
Although I recommend using loading="eager" for LCP images to improve site speed.
If you find my suggestion difficult to implement send an email at rajvee.kadchha@mlveda.com
This is an accepted solution.
Hello Lizanne,
You have to add the attribute loading='lazy' in img tag. i.e <img src="a.jpg" loading="lazy">.
Although I recommend using loading="eager" for LCP images to improve site speed.
If you find my suggestion difficult to implement send an email at rajvee.kadchha@mlveda.com
Good day Rajvee,
Thank you.
I have changed it to eager. Can you maybe please help me, if i change it my collection images is blurry. can i do something regarding this? It now longer is clear like it was before i change from lazyload to eager.
Thank you for contacting me.
Would you please share your collection page URL, we will check and let you know our feedback in 24 hours.
I suggested that you add the attribute loading="eager" rather than a class.
Also if you don't mind, can you please share your mail id, so we can take this discussion there as it will be long discussion.
thank you, I have send you a private msg.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024