An image, such as a product or collection image.

📘

Tip

Use the img_url filter to display images on the storefront.

PropertiesTypeDescription
altstringThe alt text of the image.
aspect_rationumberThe aspect ratio of the image is decimal.
heightnumberThe height of the image in pixels.
idstringThe ID of the image.
pathstringThe filename of the image.
srcstringThe relative URL of the image.
widthnumberThe 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
}