Image Editor
Last updated
Was this helpful?
Last updated
Was this helpful?
The Image Editor component in Lowcoder empowers users to upload, edit, and manage images directly within their applications. It offers a range of tools for image manipulation, enhancing user interaction and content customisation.
Image Uploading: Users can upload images from their local devices.
Editing Tools: Provides functionalities such as cropping, resizing, rotating, and applying filters to images.
Preview Functionality: Allows users to preview images before finalizing edits.
Responsive Design: Adapts seamlessly to various screen sizes and devices.
Integration Capabilities: Can be integrated with other components and data sources within Lowcoder.
Default Image: Set a default image to be displayed upon component load.
Editable Settings: Configure which editing tools are available to the user.
Output Format: Specify the format (e.g., JPEG, PNG) for the edited image output.
Styling Options: Customize the appearance, including dimensions, borders, and background colors.
Event Handlers: Define actions to be triggered on events like image upload, edit completion, or errors.
Data Binding: Bind the edited image data to other components or save it to a database using Lowcoder's data binding syntax.
Event Handling: Implement event handlers to perform actions such as saving the image or updating other components upon editing completion.
Combining with Other Components: Use in conjunction with components like Forms or Galleries to enhance functionality.
On Component Playground, you can interact with the Image Editor component and explore it's Properties, Events and Methods. Play with different Styling properties to see the effect on the Image Editor component.
In the Auto-Docs of Image Editor component, we have shown how to use different properties of the Image Editor component. It also includes the Styling properties of the Image Editor component.
These properties are accessible in {{ }} notations, as well as in JavaScript Queries.
data
String
Returns the data of the Image Editor component
buttonText
String
Returns the Button Text of the Image Editor component
hidden
Boolean
Returns True or False based on whether the Image Editor component is hidden or not
dataURI
String
Returns the dataURI of the Image Editor component
name
String
Returns the name of the downloaded image from the Image Editor component
src
String
Returns the Image Source data of the Image Editor component
Events give you the ability to trigger further actions (with Event-Handlers).
Save
Triggers, when a User Saves the work on the Image Editor component
You have the capability to engage with components via their respective methods, which can be accessed by their designated names within any segment where JavaScript is utilized. Additionally, these components can be activated through the 'Control Component' action, which is triggered in response to specific events.
setData() :
imageEditor1.setData() method sets the Image Editor component's Data property.
clearData() :
imageEditor1.clearData() clears the Image Editor component's Data property.
resetData() :
imageEditor1.resetData() method resets the Image Editor component's Data property to the default Data of the Image Editor component.
setDataURI() :
imageEditor1.setDataURI() method sets the Image Editor component's DataURI property.
clearDataURI() :
imageEditor1.clearDataURI() clears the Image Editor component's DataURI property.
resetDataURI() :
imageEditor1.resetDataURI() method resets the Image Editor component's DataURI property to the default value of the Image Editor component.
Profile Picture Editing: Allow users to upload and edit their profile images.
Product Image Management: Enable administrators to manage product images within an e-commerce application.
Content Creation Tools: Provide users with tools to create and edit images for blogs or social media posts.
Educational Platforms: Facilitate image-based assignments or projects where students can upload and edit images.