- Upload Suite Overview
- What's New?
- Choosing Upload Technology
- Evaluating Upload Suite
- Upload Suite Editions
- System Requirements
- Installation and Deployment Notes
- ActiveX/Java Uploader
- HTML5/Flash Uploader
- Before You Started with HTML5/Flash Uploader
- HTML5/Flash Uploader Architecture
- HTML5/Flash Uploader User Interface
- Getting Started
- Using HTML5/Flash Uploader
- Troubleshooting
- Reference
- HTML5/Flash Uploader ASP.NET Reference
- HTML5/Flash Uploader PHP Reference
- AddFilesProgressDialog Class HTML5/Flash Uploader PHP
- BaseClientControl Class HTML5/Flash Uploader PHP
- BaseControl Class HTML5/Flash Uploader PHP
- ClientEvents Class HTML5/Flash Uploader PHP
- CommonDialog Class HTML5/Flash Uploader PHP
- ConvertedFile Class HTML5/Flash Uploader PHP
- Converter Class HTML5/Flash Uploader PHP
- DescriptionEditor Class HTML5/Flash Uploader PHP
- DrawTool Class HTML5/Flash Uploader PHP
- FlashControl Class HTML5/Flash Uploader PHP
- ImageEditor Class HTML5/Flash Uploader PHP
- ImagePreviewWindow Class HTML5/Flash Uploader PHP
- ImageUploaderFlash Class HTML5/Flash Uploader PHP
- Messages Class HTML5/Flash Uploader PHP
- Metadata Class HTML5/Flash Uploader PHP
- Package Class HTML5/Flash Uploader PHP
- PaneItem Class HTML5/Flash Uploader PHP
- PostFields Class HTML5/Flash Uploader PHP
- Restrictions Class HTML5/Flash Uploader PHP
- StatusPane Class HTML5/Flash Uploader PHP
- TopPane Class HTML5/Flash Uploader PHP
- UploadErrorDialog Class HTML5/Flash Uploader PHP
- UploadHandler Class HTML5/Flash Uploader PHP
- UploadPane Class HTML5/Flash Uploader PHP
- UploadSettings Class HTML5/Flash Uploader PHP
- UploadedFile Class HTML5/Flash Uploader PHP
- AmazonS3Extender Class HTML5/Flash Uploader PHP
- FileSettings Class HTML5/Flash Uploader PHP
- HTML5/Flash Uploader JavaScript Reference
- HTML5/Flash Uploader Client-Side Events Reference
- POST Field Reference
- Licensing Information
- Legal Notices
ImageEditor Class HTML5/Flash Uploader PHP
This class represents the image editor.
For a list of all members of this class, see ImageEditor Members.
Syntax
class ImageEditor {
}
Remarks
Aurigma HTML5 uploader has a built-in image editor. A user may open any photo/image added to the upload list in this editor and modify it. The editor includes two tools - cropping tool and draw tool. Depending on your needs, you can toggle each tool and configure them.
The cropping tool is toggled using the EnableCrop property. Once you enable it, you may configure the crop frame aspect ratio using the CropRatio property. It may be a string like "4:3" or "2/3". Empty string means that there is no aspect ratio restrictions (free crop mode). A "orig" value will preserve the original aspect ratio. If you prepend ;fixed to this string, the uploader won't allow the user to change the crop rectangle orientation. If you don't want the resulting image to be smaller than a specific size, you should use CropMinSize.
The draw tool can be turned on and off using the EnableDrawTool. It includes the freehand pen and eraser. The user may select the pen color and width (appropriate controls may be hidden through the settings though). These features are controlled using the DrawTool properties.
Remember, that although the user sees the changes made to the image on the preview, under certain circumstances the changes are not applied to the uploaded image. For example, it may happen if you set your converter to the SourceFile mode or set ThumbnailApplyCrop and/or ThumbnailApplyDrawTool to false. Sometimes it may be useful to upload both modified and unmodified images, but to avoid confusion, pay attention to your converter settings.
See Also
Reference
- EnableImageEditor Property
- Aurigma.ImageUploaderFlash.ImageEditor ASP.NET Class HTML5/Flash Uploader
- $au.imageEditor JavaScript Class HTML5/Flash Uploader