@wocart/storefront / index / MediaImageSrcsetOptions
Interface: MediaImageSrcsetOptions
Properties
delivery
delivery:
MediaDelivery
The store's delivery; without one there is no srcset.
quality?
optionalquality?:number
Encoder quality, 1–100; the host's default when absent.
ratio?
optionalratio?:number
Height ÷ width: given, each size is cropped to it (cover); absent, the photo keeps its shape and is never enlarged (scale-down).