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 File Manager - converts the edited image from base64 to a Blob, creates a file object, and uploads it to Bubble's file manager, publishing the file URL and triggering a custom event upon successful upload.
Image without caption
Title
Description
Type
Base64
Image in base64 format, take from pluginโ€™s state โ€œImage base64โ€. If the field is not set, it takes the file from the instance object
Text(optional)
File name
Name for the file
Text
Please make sure to set File Uploads enabled in the main visual element itself
Image without caption

Exposed states

Title
Description
Type
Image base64
Image in base64 encoding
Text
url
The url of the uploaded file

Element Events

Title
Description
Base64 ready
Triggers when download button is clicked.
File was uploaded
Triggers when uploading image to the file manager 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 File Manager - converts the edited image from base64 to a Blob, creates a file object, and uploads it to Bubble's file manager, publishing the file URL and triggering a custom event upon successful upload.
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
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)
url
The url of the uploaded image

Element Events

Title
Description
Base64 ready
Triggers when Download action is set to โ€œbase64 stateโ€ and state โ€œImage base64โ€ is ready.
File was 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: 17.10.24 - Version 1.23.0

  • Data API call removed from Upload to database action

Update 12.09.24 - Version 1.22.0

  • Added field info to action "TUI - ImageEditor custom".

Update: 08.08.24 - Version 1.20.0

  • Minor update (Marketing update) and Updated endpoint for Check ROSS problem

Update: 01.08.24 - Version 1.19.0

  • Blur effect filter bug fix

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