image
The image
object has the following attributes:
image.alt
Returns the alt tag of the image, set in the Products page of the Admin.
image.height
Returns the height of the image in pixels.
image.id
Returns the id of the image.
image.src
Returns the relative path of the product image. This is the same as outputting {{ image }}
.
image.width
Returns the width of the image in pixels.
Updated over 3 years ago