@wocart/storefront / index / PickedImage
Interface: PickedImage
An image a merchant picked, by its media key — what a theme's image field resolves to.
Properties
alt?
optionalalt?:string
focal?
optionalfocal?:object
The point to keep in view when the photo is cropped, each axis 0–1.
x
x:
number
y
y:
number
height?
optionalheight?:number
key
key:
string
width?
optionalwidth?:number