image
An image.
Pass it to image_url to get a resized URL.
Available in: product.images, collection.image, image_picker settings…
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
image.id |
string | ID. |
image.src |
string | Original URL. |
image.url |
string | Same as src. |
image.alt |
string | Alt text. |
image.width |
number | Width. |
image.height |
number | Height. |
image.aspect_ratio |
number | Width ÷ height. |
image.position |
number | Position among the product’s media. |
image.media_type |
string | image. |
image.presentation |
object | presentation.focal_point, as CSS object-position. |
Example
Section titled “Example”{{ product.featured_image.alt }} {{ product.featured_image.width }}×{{ product.featured_image.height }}Linen abaya 1600×2000Related
Section titled “Related”Compatibility
Section titled “Compatibility”Shopify: Same as Shopify.
Since theme platform 1.0.
Was this page helpful?

