Last active
July 29, 2019 09:37
-
-
Save shopifypartners/0763862b0656a4fed36f8deff0c0690f to your computer and use it in GitHub Desktop.
Lazy loading product loop - https://www.shopify.com/partners/blog/lazy-loading
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% for product in collection.products %} | |
{% include 'responsive-image' with | |
image: product.featured_image, | |
image_class: "image", | |
wrapper_class: "image-wrapper", | |
max_width: 700, | |
max_height: 800 %} | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment