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

converter.thumbnailApplyCrop Property

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: false,
            //...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 false.

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