I want to get the size of an image I uploaded on Shopify, is it possible?

Highlighted
Tourist
6 0 2

I want to get the size of an image I uploaded on Shopify, is it possible?
I want to implement an image gallery using PhotoSwipe, but I need to get the height and width of each individual original image.

0 Likes
Highlighted
Tourist
6 0 2

Solving!

{% for image in product.images %}
    {{ image.height }}
    {{ image.width }}
{% endfor %}

 

0 Likes