---
title: "converter.thumbnailFitMode Property  HTML5/Flash Uploader JavaScript"
canonical: https://www.aurigma.com/docs/us8/FH_P_J_$au_converter_thumbnailFitMode.htm
product: "Upload Suite 8"
---

# converter.thumbnailFitMode Property HTML5/Flash Uploader JavaScript

Supported technologies: ![Adobe Flash](https://www.aurigma.com/docs/us8/icons/flash.png)![HTML 5](https://www.aurigma.com/docs/us8/icons/html5.png)
 
Gets or sets the fit mode of the thumbnail.

## Syntax
 
```
$au.imageUploaderFlash({
    converters : [
        {
            //...other params...
            thumbnailFitMode: "Fit",
            //...other params...
        }
    ]
})
```

```
$au.imageUploaderFlash('uploaderID').converters().set(index).thumbnailFitMode(value);
value = $au.imageUploaderFlash('uploaderID').converters().get(index).thumbnailFitMode();
```
 
### Property Value
 
Type: **String**
 
The fit mode of the thumbnail.
 
Default value is **"Fit"**.

## Remarks
 
The following values are supported:
 
- **ActualSize** means that dimensions of the original image should be kept; however, it can be rotated or recompressed if necessary.
- **Crop** means that the image is automatically cropped before the resize to have the same aspect ratio as specified by [thumbnailHeight](https://www.aurigma.com/docs/us8/FH_P_J_$au_converter_thumbnailHeight.htm.md) and [thumbnailWidth](https://www.aurigma.com/docs/us8/FH_P_J_$au_converter_thumbnailWidth.htm.md) properties.
- **Fit** means that the original image should be resized to fit the rectangle specified with the **thumbnailHeight** and **thumbnailWidth** 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.
- **Width** means that the original image should be resized to be no wider than **thumbnailWidth** value.

This property makes sense only if the [mode](https://www.aurigma.com/docs/us8/FH_P_J_$au_converter_mode.htm.md) property has the **Thumbnail** value.

## See Also
 
### Reference
 
- [thumbnailHeight Property](https://www.aurigma.com/docs/us8/FH_P_J_$au_converter_thumbnailHeight.htm.md)
- [thumbnailWidth Property](https://www.aurigma.com/docs/us8/FH_P_J_$au_converter_thumbnailWidth.htm.md)
- [thumbnailResizeQuality Property](https://www.aurigma.com/docs/us8/FH_P_J_$au_converter_thumbnailResizeQuality.htm.md)
- [thumbnailResolution Property](https://www.aurigma.com/docs/us8/FH_P_J_$au_converter_thumbnailResolution.htm.md)
- [Aurigma.ImageUploaderFlash.Converter.ThumbnailFitMode ASP.NET Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_Aurigma_ImageUploaderFlash_Converter_ThumbnailFitMode.htm.md)
- [Converter.ThumbnailFitMode PHP Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_P_Converter_ThumbnailFitMode.htm.md)
