Wocart

@wocart/storefront v3.1.0


@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?

optional alt?: string


focal?

optional focal?: object

The point to keep in view when the photo is cropped, each axis 0–1.

x

x: number

y

y: number


height?

optional height?: number


key

key: string


width?

optional width?: number