- 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
- HTML5/Flash Uploader JavaScript Reference
- $au Namespace HTML5/Flash Uploader JavaScript
- addFilesProgressDialog Class HTML5/Flash Uploader JavaScript
- commonDialog Class HTML5/Flash Uploader JavaScript
- converter Class HTML5/Flash Uploader JavaScript
- converters Class HTML5/Flash Uploader JavaScript
- debug Class HTML5/Flash Uploader JavaScript
- descriptionEditor Class HTML5/Flash Uploader JavaScript
- drawTool Class HTML5/Flash Uploader JavaScript
- event Class HTML5/Flash Uploader JavaScript
- events Class HTML5/Flash Uploader JavaScript
- file Class HTML5/Flash Uploader JavaScript
- files Class HTML5/Flash Uploader JavaScript
- flashControl Class HTML5/Flash Uploader JavaScript
- imageEditor Class HTML5/Flash Uploader JavaScript
- imagePreviewWindow Class HTML5/Flash Uploader JavaScript
- imageUploaderFlash Class HTML5/Flash Uploader JavaScript
- informationBar Class HTML5/Flash Uploader JavaScript
- messages Class HTML5/Flash Uploader JavaScript
- metadata Class HTML5/Flash Uploader JavaScript
- paneItem Class HTML5/Flash Uploader JavaScript
- restrictions Class HTML5/Flash Uploader JavaScript
- statusPane Class HTML5/Flash Uploader JavaScript
- topPane Class HTML5/Flash Uploader JavaScript
- uploadErrorDialog Class HTML5/Flash Uploader JavaScript
- uploadPane Class HTML5/Flash Uploader JavaScript
- uploadSettings Class HTML5/Flash Uploader JavaScript
- $au.amazonS3Extender Namespace HTML5/Flash Uploader JavaScript
- $au Namespace HTML5/Flash Uploader JavaScript
- HTML5/Flash Uploader Client-Side Events Reference
- POST Field Reference
- Licensing Information
- Legal Notices
imageEditor Class HTML5/Flash Uploader JavaScript
This class represents the image editor.
For a list of all members of this class, see imageEditor Members.
Syntax
$au.imageEditor = function() {
}
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
- ImageEditor PHP Class HTML5/Flash Uploader