Interface: ImageData
Image data from GraphQL API (matches Image type in storefront schema).
Properties
altText?
optionalaltText?:string|null
Alt text for accessibility + SEO
height?
optionalheight?:number|null
Original image height in pixels
id?
optionalid?:string|null
Image ID
thumbhash?
optionalthumbhash?:string|null
ThumbHash placeholder (base64-encoded ~40 chars). Decode with thumbHashToDataURL() for blur preview.
url
url:
string
Image URL from GraphQL (ready-to-use CDN URL with transform query params)
width?
optionalwidth?:number|null
Original image width in pixels