converter.thumbnailApplyCrop Property ActiveX/Java Uploader JavaScript

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a value indicating whether the thumbnail should be cropped.

Syntax

JavaScript Initialize
$au.uploader({
    converters : [
        {
            //...other params...
            thumbnailApplyCrop: true,
            //...other params...
        }
    ]
})
Get/Set Value at Runtime
$au.uploader('uploaderID').converters().get(index).thumbnailApplyCrop(value);
value = $au.uploader('uploaderID').converters().get(index).thumbnailApplyCrop();

Property Value

Type: Boolean

If true, the thumbnail is cropped using the specified crop bounds.

Default value is true.

Remarks

In order to set a crop rectangle, select a region in the image editor or use the file.cropBounds property.

This property makes sense only if the mode property has the Thumbnail value.

See Also

Reference

Manual