Przejdź do głównej zawartości

Interface: ImageData

Image data from GraphQL API (matches Image type in storefront schema).

Properties

altText?

optional altText?: string | null

Alt text for accessibility + SEO


height?

optional height?: number | null

Original image height in pixels


id?

optional id?: string | null

Image ID


thumbhash?

optional thumbhash?: 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?

optional width?: number | null

Original image width in pixels