UI for ASP.NET Core
With the Telerik UI for ASP.NET Core Image Editor component your users gain the ability to modify image files in the browser without installing third-party software or opening an external application. The control is driven by the HTML5 Canvas element. It provides several built-in commands for loading, cropping, resizing, zooming and downloading the edited image.
See the ASP.NET Core Image Editor in action
To make matters simple, some of the Image Editor’s instruments like the Resize tool use a dedicated panel on the right-hand side of the control. This panel displays UI to edit both dimensions of the image and a checkbox to lock the aspect ratio. While the user is experimenting with the correct sizes, a preview will be shown. Through the Undo and Redo buttons, users can easily revert or reapply the change to the image before deciding on what best works for them.
Similarly to the Resize command, cropping also uses a dedicated panel. The panel contains options to tweak the aspect ratio, orientation, width and height of the cropped version. Users can preview the results and use the Undo and Redo buttons to revert/reapply the change if needed.
To zoom in or out on an image, users can use the zoom controls on the top of the editor:
You can easily configure the Telerik UI for ASP.NET Core Image Editor component in a Razor Page scenario by making the ImageEditor forward the content to a proxy URL, even if the browser supports local saving of files.
See how to implement the Image Editor in a Razor Page
The Image Editor is one of the many components in the Telerik UI for ASP.NET Core suite with out-of-the-box support for keyboard navigation. Users can use Ctrl + Z for Undo and Ctrl + Y for the Redo command, Tab to choose which button to focus and Enter or Space to press the focused button.
The Telerik ASP.NET Core Image Editor has 20+ built-in themes such as Default (our own styling), Material (based on the Material Design guidelines), Bootstrap (which looks like the Bootstrap styling to integrate better) and Fluent (based on Microsoft Fluent UI). You can easily customize any of out-of-the-box themes with a few lines of CSS, or create new theme to match your colors and branding by using the Telerik SASS ThemeBuilder application.