Skip to content

ImageVariantOptions

ImageVariantOptions = object

Defined in: packages/schema/src/files/file-options.ts:51

.variants()’ second argument: original replaces the upload by that image, so the upload itself is not kept.

optional original?: ImageVariant

Defined in: packages/schema/src/files/file-options.ts:53

The image stored instead of the upload, such as { width: 2560, format: 'webp' }.