image
An image, such as a product or collection image.
Tip
Use the img_url filter to display images on the storefront.
Properties | Type | Description |
---|---|---|
alt | string | The alt text of the image. |
aspect_ratio | number | The aspect ratio of the image is decimal. |
height | number | The height of the image in pixels. |
id | string | The ID of the image. |
path | string | The filename of the image. |
src | string | The relative URL of the image. |
width | number | The width of the image in pixels. |
{
"src":"\/\/cdn.shoplazza.com\/74f03d97e0ac95a1ab8e3e75327a7019.jpeg",
"path":"74f03d97e0ac95a1ab8e3e75327a7019.jpeg",
"width":1280,
"height":1710,
"id": "74f03d97e0ac95a1ab8e3e75327a7019",
"alt":"",
"aspect_ratio":0.7485380116959064
}
Updated over 1 year ago