This documentation is for the old version. Go to the latest Upload Suite docs

imageEditor.cropMinSize Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets minimum width and height of the crop rectangle (in pixels).

Syntax

JavaScript Initialize
$au.uploader({
    imageEditor: {
        //...other params...
        cropMinSize: 50,
        //...other params...
    }
})
Get/Set Value at Runtime
$au.uploader('uploaderID').imageEditor().cropMinSize(value);
value = $au.uploader('uploaderID').imageEditor().cropMinSize();

Property Value

Type: Number

The minimum width and height of the crop rectangle (in pixels).

Default value is 50.

See Also

Reference