Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.

imageEditor.cropMinSize Property HTML5/Flash Uploader JavaScript

Supported technologies:

Gets or sets minimum width and height of the crop rectangle.

Syntax

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

Property Value

Type: Number

The minimum possible width and height in pixels of the resulting image you will receive after the user applies the crop. If 0, no limitation is applied.

Default value is 50.

See Also

Reference