---
title: "converter.thumbnailFitMode Property  ActiveX/Java Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/JA_P_J_$au_converter_thumbnailFitMode.htm
product: "Upload Suite 8"
---

# converter.thumbnailFitMode 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 fit mode of the thumbnail.

## Syntax
 
```
$au.uploader({
    converters : [
        {
            //...other params...
            thumbnailFitMode: "Fit",
            //...other params...
        }
    ]
})
```

```
$au.uploader('uploaderID').converters().get(index).thumbnailFitMode(value);
value = $au.uploader('uploaderID').converters().get(index).thumbnailFitMode();
```
 
### Property Value
 
Type: **String**
 
The fit mode of the thumbnail.
 
The following values are supported:
 
| Value | Description |
| --- | --- |
| **ActualSize** | means that dimensions of the original image should be kept; however, it can be rotated or recompressed if necessary. |
| **Fit** | means that the original image should be resized to fit the rectangle specified with the [thumbnailHeight](https://www.aurigma.com/docs/us8/JA_P_J_$au_converter_thumbnailHeight.htm.md) and [thumbnailWidth](https://www.aurigma.com/docs/us8/JA_P_J_$au_converter_thumbnailWidth.htm.md) properties. Note that the proportions of the original image will be kept. |
| **Height** | means that the original image should be resized to be no higher than **thumbnailHeight** value. |
| **OrientationalFit** | means that the original image should be resized depending on its orientation (portrait or landscape): <ul> <li>if portrait then maximum of <b>thumbnailHeight</b> and <b>thumbnailWidth</b> should be thumbnail height</li> <li>if landscape then maximum of <b>thumbnailHeight</b> and <b>thumbnailWidth</b> should be thumbnail width</li> </ul> |
| **Width** | means that the original image should be resized to be no wider than **thumbnailWidth** value. |
 
Default value is **"Fit"**.

## Remarks
 
**Note** 
ActiveX/Java Uploader Express and Professional restrict a size (width x height) of each created thumbnail to 3 and 5 megapixels respectively. For example, the size of 1500x1500 thumbnail is 2.25 megapixels (1500 pixels x 1500 pixels = 2.25 megapixels), so a thumbnail like this can be uploaded with ActiveX/Java Uploader Express. See the [Upload Suite Editions](https://www.aurigma.com/docs/us8/upload-suite-editions.htm.md) topic for details.
 
This property makes sense only if the [mode](https://www.aurigma.com/docs/us8/JA_P_J_$au_converter_mode.htm.md) property has the `Thumbnail` value.

## See Also
 
### Reference
 
- [Aurigma.ImageUploader.Converter.ThumbnailFitMode ASP.NET PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_Aurigma_ImageUploader_Converter_ThumbnailFitMode.htm.md)
- [Converter.ThumbnailFitMode PHP PropertyActiveX/Java Uploader](https://www.aurigma.com/docs/us8/JA_P_P_Converter_ThumbnailFitMode.htm.md)

### Manual
 
- [Resizing and Recompressing via ActiveX/Java Uploader](https://www.aurigma.com/docs/us8/resizing-and-recompressing.htm.md)
