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

restrictions.maxImageWidth Property

Gets or sets a maximum image width allowed for upload.


JavaScript Initialize
    restrictions: {
        //...other params...
        maxImageWidth: 0,
        //...other params...
Get/Set Value at Runtime
value = $au.imageUploaderFlash('uploaderID').restrictions().maxImageWidth();

Property Value

Type: Number

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

Default value is 0.

See Also