Toast UI Image Editor

Demo to preview the plugin:

Introduction

Multifunctional image editor. Dynamically Crop, Flip, apply Filters, Draw. Add Shapes, text, icons etc. Save it all as one png file. Full control from workflow or use predefined UI for desktop and mobile.
Widely supported in mobile and desktop browsers including IE10.

How to setup

  1. To start you need to create an element TUI - ImageEditor default.
    1. Image without caption
  1. Fill in field “Dynamic Image”.
  1. Ready. Click “Preview Page” to check.

Plugin Element Properties

TUI - ImageEditor default

Image without caption
Fields:
Title
Description
Type
Show default logo
If checked, shows “Toast UI Image Editor” on the top left corner of the editor.
Checkbox (yes/no)
Menu position
Position of the toolbar menu. Available options: Left, Top, Right, Bottom.
Text
Download Image
Download or publish in a state in base64 format
Checkbox (yes/no)
Preloaded image
Image for editing by default.
Image (optional)
Change default texts
Download
Change text for Download button.
Text
Cancel
Change text for Cancel button.
Text
Apply
Change text for Apply button.
Text
Reset
Change text for Reset button.
Text
Load
Change text for Load button.
Text
Delete All
Change text for Delete All button.
Text
Crop
Change text for Crop button.
Text
Custom icon
Change text for Custom icon button.
Text

Element Actions

  1. Upload to DB - upload the image to your bubble database.
    1. Image without caption
Title
Description
Type
Base64
Image in base64 format, take from plugin’s state “Image base64”
Text
File name
Name for the file
Text
Thing
Your DataBase where a new object with image will be created.
App Type
File field
Select field that will contain the image. It should type of image or file.
Filed of Thing, represent Text, image or file
INFO: To use this action, make sure that you have enabled Data API from your app settings.

Exposed states

Title
Description
Type
Image base64
Image in base64 encoding
Text
Uploaded thing ID
ID of the image from your database
Text

Element Events

Title
Description
Base64 ready
Triggers when download button is clicked.
File uploaded
Triggers when uploading image to your database is success.

TUI - ImageEditor custom

Image without caption
Fields:
Title
Description
Type
Controls size
The size of editing controls (green squares).
Number

Element Actions

Load image - upload the image to the editor
Download - Download file or publish it in a state in base64 format.
Crop - Start a drawing mode.
Apply Crop
Undo - erases the last action done to the editor.
Redo - reverses the undo
Cancel Crop - Stop the current drawing mode and back to the 'NORMAL' mode.
Flip X - Flip the image horizontally
Flip Y - Flip the image vertically
Edit Selected Shape - Changes properties of the selected shape.
Reset flip
Set Angle
Rotate Image - changes angle related to current angle. If current angle is 10° and action is set to 20°, the final angle will be 10° + 20° = 30°.
Text - With this action you can add new text or edit the current selected text.
Draw - start a drawing mode.
Cancel Draw Mode - Stop the current drawing mode and back to the 'NORMAL' mode.
Add icon - Add icon on canvas.
Draw Shape
Change icon color
Apply Filter - Apply filter on canvas image.
Add image object - Add image object on canvas.
Set Crop Area - Set the cropping rect.
Add Text With Position - Use this action if you need to add text dynamically at a certain position, otherwise use the “Text” action that will add it in the center automatically.
Upload to DB - upload the image to your bubble database.
Discard Selection
Remove Filter - remove filter on canvas image.

Exposed states

Title
Description
Type
Image base64
Image in base64 encoding
Text
Crop mode
Yes when mode is Crop.
Checkbox (yes/no)
Draw mode
Yes when mode is Draw.
Checkbox (yes/no)
Selected Object Type
Type of the selected object: Image, rectangle, circle, etc.
Text
Crop Width
Current crop widht.
Number
Crop Height
Current crop height.
Number
Uploaded thing ID
ID of the uploaded image in the your bubble database.
Text
Image Object Is Processing
Yes when processing, No when processing is done.
Checkbox (yes/no)
Image is loaded
Yes when image is loading
Checkbox (yes/no)

Element Events

Title
Description
Base64 ready
Triggers when Download action is set to “base64 state” and state “Image base64” is ready.
File uploaded
Triggers when uploading image to your database is success.

TUI - ImageEditor mobile

Image without caption
Fields:
Title
Description
Type
Show default logo
If checked, shows “Toast UI Image Editor” on the top left corner of the editor.
Checkbox (yes/no)
Download Image
Download or publish in a state in base64 format
Checkbox (yes/no)
Controls size
The size of editing controls (green squares)
Number

Exposed states

Title
Description
Type
Image base64
Image in base64 format, take from plugin’s state “Image base64”
Text

Element Events

Title
Description
Base64 ready
Triggers when download button is clicked and state “Image base64” is ready.

Changelogs

Update: 20.03.24 - Version 1.16.0

  • Upload to DB action fix

Update: 24.11.23 - Version 1.15.0

  • updated description

Update: 18.10.23 - Version 1.14.0

  • Updated description

Update: 15.09.23 - Version 1.13.0

  • updated description

Update: 12.09.23 - Version 1.12.0

  • minor updates

Update: 06.09.23 - Version 1.11.0

  • Obfuscation

Update: 18.07.23 - Version 1.10.0

  • updated description

Update: 17.07.23 - Version 1.9.0

  • updated description

Update: 22.11.22 - Version 1.8.0

  • description update

Update: 31.10.22 - Version 1.7.0

  • description update

Update: 07.04.22 - Version 1.6.0

  • Added Brightness settings for filter. Added Remove Filter action

Update: 18.06.21 - Version 1.5.4

  • Fixed a minor bug with upload action

Update: 29.03.21 - Version 1.5.3

  • Added new aspect ratios for crop zone: 2:3 and 3:4

Update: 29.03.21 - Version 1.5.2

  • Fixed unable to use font family for “Add Text With Position” action.

Update: 26.03.21 - Version 1.5.1

  • New action: Discard Selection

Update: 18.01.21 - Version 1.5.0

  • New action for custom mode: Add Text with Position - allows to add text at a certain position from the workflow.

Update: 11.11.20 - Version 1.4.0

  • Fixed cross-origin errors

Update: 08.11.20 - Version 1.3.3

  • Fixed a bug with Upload to DB action for default mode

Update: 27.10.20 - Version 1.3.2

  • New state - “Image is loaded(Yes/No)” for custom mode

Update: 26.10.20 - Version 1.3.1

  • Fixed a bug with upload to DB feature.

Update: 05.10.20 - Version 1.3.0

  • New action for custom mode: Set Crop Size (Aspect Ratio)

Update: 11.08.20 - Version 1.2.0

  • New feature - Fit image object in canvas. New state - Image Object Processing (Yes/No)

Update: 05.08.20 - Version 1.1.3

  • You can now add font family for the text in custom mode.

Update: 04.08.20 - Version 1.1.2

  • Fixed a bug with Arabic and other RTL text

Update: 31.07.20 - Version 1.1.1

  • Fixed download action for Custom mode

Update: 31.07.20 - Version 1.1.0

  • New action - Upload to DB, New state - Uploaded thing ID, New event - File uploaded. Fixed a few minor bugs.

Update: 25.06.20 - Version 1.0.1

  • Minor improvements

Update: 22.06.20 - Version 1.0.0

  • Release