Gets or sets a minimum image width allowed for upload.

Syntax

JavaScript

Initialize

$au.uploader({
    restrictions: {
        //...other params...
        minImageWidth: 0,
        //...other params...
    }
})

Get/Set Value at Runtime

$au.uploader('uploaderID').restrictions().minImageWidth(value);
value = $au.uploader('uploaderID').restrictions().minImageWidth();

Property Value

Type: Number

The minimum allowed image width (in pixels). If the value is 0, then there is no limit.

Default value is 0.