Image
Represents an image, including its metadata, file information, and variant associations.
Type Definition
type Image {
alt: String
url: String
title: String
description: String
tags: [String]
aiProcessed: Boolean
width: Int
height: Int
aspectRatio: String
mimeType: String
fileExtension: String
fileSize: Int
fileName: String
orientation: String
sortOrder: Int
type: String
attachedToVariant: Boolean
variants: [ProductVariant]
}Fields
Relationships
The Image type is used to represent visual assets across multiple areas of the product catalog. It is referenced by ProductBundleContent as an image asset, by ProductOptionValue to visualize option selections, by Product as the featured image, and by ProductVariant for both standard and featured variant images. The variants field establishes a relationship to the ProductVariant type, indicating which variants the image is associated with.
Example
{
alt
url
title
description
tags
aiProcessed
width
height
aspectRatio
mimeType
fileExtension
fileSize
fileName
orientation
sortOrder
type
attachedToVariant
variants {
id
}
}Implements
None