---
title: "Converter.ThumbnailFitMode Property  HTML5/Flash Uploader PHP"
canonical: https://www.aurigma.com/docs/us8/FH_P_P_Converter_ThumbnailFitMode.htm
product: "Upload Suite 8"
---

# Converter.ThumbnailFitMode Property HTML5/Flash Uploader PHP

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
 
```
public function getThumbnailFitMode() {
}

public function setThumbnailFitMode($value) {
}
```
 
### 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_P_Converter_ThumbnailHeight.htm.md) and [ThumbnailWidth](https://www.aurigma.com/docs/us8/FH_P_P_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_P_Converter_Mode.htm.md) property has the **Thumbnail** value.

## See Also
 
### Reference
 
- [ThumbnailHeight Property](https://www.aurigma.com/docs/us8/FH_P_P_Converter_ThumbnailHeight.htm.md)
- [ThumbnailWidth Property](https://www.aurigma.com/docs/us8/FH_P_P_Converter_ThumbnailWidth.htm.md)
- [ThumbnailResizeQuality Property](https://www.aurigma.com/docs/us8/FH_P_P_Converter_ThumbnailResizeQuality.htm.md)
- [ThumbnailResolution Property](https://www.aurigma.com/docs/us8/FH_P_P_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)
- [$au.converter.thumbnailFitMode JavaScript Property HTML5/Flash Uploader](https://www.aurigma.com/docs/us8/FH_P_J_$au_converter_thumbnailFitMode.htm.md)
