restrictions.maxImageHeight Property ActiveX/Java Uploader JavaScript

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a maximum image height allowed for upload.

Syntax

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

Property Value

Type: Number

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

Default value is 0.

See Also

Reference

Manual