---
title: "restrictions.maxImageHeight Property  ActiveX/Java Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/JA_P_J_$au_restrictions_maxImageHeight.htm
product: "Upload Suite 8"
---

# restrictions.maxImageHeight Property ActiveX/Java Uploader JavaScript

Supported browsers: ![Internet Explorer](https://www.aurigma.com/docs/us8/icons/ie8.png)![Firefox](https://www.aurigma.com/docs/us8/icons/firefox.png)![Google Chrome](https://www.aurigma.com/docs/us8/icons/chrome.png)![Safari](https://www.aurigma.com/docs/us8/icons/safari.png)
 
Gets or sets a maximum image height allowed for upload.

## Syntax
 
```
$au.uploader({
    restrictions: {
        //...other params...
        maxImageHeight: 0,
        //...other params...
    }
})
```

```
$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
 
- [dimensionsTooLarge Property](https://www.aurigma.com/docs/us8/JA_P_J_$au_messages_dimensionsTooLarge.htm.md)
- [Aurigma.ImageUploader.Restrictions.MaxImageHeight ASP.NET PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Restrictions_MaxImageHeight.htm.md)
- [Restrictions.MaxImageHeight PHP PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_P_Restrictions_MaxImageHeight.htm.md)

### Manual
 
- [Setting Limitations for Images](https://www.aurigma.com/docs/us8/setting-limitations-for-images.htm.md)
