converter.thumbnailApplyCrop Property HTML5/Flash Uploader JavaScript

Supported technologies:

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

Syntax

JavaScript Initialize
$au.imageUploaderFlash({
    converters : [
        {
            //...other params...
            thumbnailApplyCrop: true,
            //...other params...
        }
    ]
})
Get/Set Value at Runtime
$au.imageUploaderFlash('uploaderID').converters().set(index).thumbnailApplyCrop(value);
value = $au.imageUploaderFlash('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 and thumbnailFitMode is not Crop.

See Also

Reference

Manual