Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / MediaImageSrcsetOptions

Interface: MediaImageSrcsetOptions

Properties

delivery

delivery: MediaDelivery

The store's delivery; without one there is no srcset.


quality?

optional quality?: number

Encoder quality, 1–100; the host's default when absent.


ratio?

optional ratio?: number

Height ÷ width: given, each size is cropped to it (cover); absent, the photo keeps its shape and is never enlarged (scale-down).