> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://uploadcare.com/docs/llms.txt.

# Image editor options

> File Uploader options: image editor.

Options for the built-in image editor that opens after a user selects an image.

Related guides: [Image editor](/docs/file-uploader/image-editor/).

See [all options](/docs/file-uploader/options/) for the full list.

### useCloudImageEditor \[#use-cloud-image-editor]

Enable cloud image editing.

Attribute: `use-cloud-image-editor`

DOM property: `useCloudImageEditor`

Type: `boolean`

Default: `true`

### cloudImageEditorAutoOpen Since v1.15.0 \[#cloud-image-editor-auto-open]

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 \[#cloud-image-editor-tabs]

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 flipping
* `tuning`: [color adjustment](/docs/effects-enhancements/#image-colors-operations)
* `filters`: [photo filters](/docs/effects-enhancements/#image-photo-filters)

Type: `comma separated string`

Default: `'crop,tuning,filters'`

### cropPreset Since v0.26.0 \[#crop-preset]

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 \[#cloud-image-editor-mask-href]

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`