Image Editor

📘

Premium Feature

This feature is only available in premium plans

We have a built-in image editor that can be used to resize, crop or apply effects to images. It's enabled by default but you can disable it if you want.

unlayer.init({
  features: {
    imageEditor: {
      enabled: false
    }
  }
})

Image Editor Tools

You can also choose to disable any of the image editor tools. By default, all of these tools are enabled: Filter, Resize, Crop, Draw, Text, Shapes, Stickers, Frame, Corners and Merge.

Here's an example if you want to disable the Resize tool in the image editor.

unlayer.init({
  features: {
    imageEditor: {
      tools: {
        resize: false
      }
    }
  }
});