Image editor options
Options for the built-in image editor that opens after a user selects an image.
Related guides: Image editor.
See all options for the full list.
useCloudImageEditor
Enable cloud image editing.
Attribute: use-cloud-image-editor
DOM property: useCloudImageEditor
Type: boolean
Default: true
cloudImageEditorAutoOpen Since v1.15.0
Automatically open the cloud image editor when a single image is selected.
Attribute: cloud-image-editor-auto-open
DOM property: cloudImageEditorAutoOpen
Type: boolean
Default: false
cloudImageEditorTabs Since v0.26.0
Defines the list of tabs in the cloud image editor. Order matters.
Attribute: cloud-image-editor-tabs
DOM property: cloudImageEditorTabs
Available values:
crop: image cropping, rotating, mirroring, and flippingtuning: color adjustmentfilters: photo filters
Type: comma separated string
Default: 'crop,tuning,filters'
cropPreset Since v0.26.0
Defines the crop behavior. When uploading images, your users can select a crop area with a defined aspect ratio.
Attribute: crop-preset
DOM property: cropPreset
When useCloudImageEditor is enabled and there is a single file selected, the
image editor will be opened automatically. In the other case, images will be
cropped automatically with centred alignment without opening the image editor.
Expected format: 'width:height'.
For example, '1:1' defines a square crop, and ‘16:9’ sets a widescreen crop.
You can also specify multiple aspect ratios by separating them with commas, e.g.: '1:1, 16:9'.
To allow free cropping, include the free option, for example: 'free, 1:1, 16:9'.
Type: comma separated string
Default: ''
cloudImageEditorMaskHref Since v1.16.0
This property allows developers to define a custom overlay mask, specified as a URL, which can be applied within the editor interface.
Attribute: cloud-image-editor-mask-href
DOM property: cloudImageEditorMaskHref
Type: string
Default: null