# Product Image object

# product_image.alt

Returns the alt text of the image if specified.

# product_image.id

Returns the unique id of the image of the product.

# product_image.position

Returns the sort position of the product image.

# product_image.product_id

Returns the product id of the product to which the image belongs.

# product_image.src

Alias of product_image.url

# product_image.url

Returns the url of the product image.

# product_image.domain_url

Returns a url of the product image which is hosted on the shop domain. Please note that it is recommended to use the url attribute instead as those images will be served from our global CDN.

# product_image.variant_ids

Returns an array with all the variant ids which has the image assigned as featured image.