This key defines what format an image is converted to prior to upload.
Appears in#
├── _inputs
│ └── *
│ ├── Rich Text Input
│ │ └── options
│ │ └── mime_type
│ └── File Input
│ └── options
│ └── mime_type
├── URL Input
│ └── options
│ └── mime_type
└── _editables
├── content
│ └── mime_type
├── block
│ └── mime_type
└── image
└── mime_typeType#
string
Allowed values#
image/jpegimage/pngimage/webpExamples#
In this example, we have configured an Image Input to convert images to WebP format prior to upload.
Copied to clipboard
_inputs:
hero_image:
type: image
options:
mime_type: image/webp{
"_inputs": {
"hero_image": {
"type": "image",
"options": {
"mime_type": "image/webp"
}
}
}
}