Gets or sets a maximum image width allowed for upload.
$au.uploader({Get/Set Value at Runtime
restrictions: {
//...other params...
maxImageWidth: 0,
//...other params...
}
})
$au.uploader('uploaderID').restrictions().maxImageWidth(value);
value = $au.uploader('uploaderID').restrictions().maxImageWidth();
Type: Number
The maximum allowed image width (in pixels). If the value is 0
, then there is no limit.
Default value is 0.