product.image shopify code example
Example 1: get product main image shopify
{% for image in product.images offset:1 limit:1 %}
{% endfor %}
Example 2: get product main image shopify
{{ product.images[0] | product_img_url: 'medium' }}
{% for image in product.images offset:1 limit:1 %}
{% endfor %}
{{ product.images[0] | product_img_url: 'medium' }}