## Aurigma Image Uploader 7.0.11

# Converter.ThumbnailFitMode Property

- Collapse All Sections
- See Also
- Language Filter ( all languages )
- Supported browsers:

Gets or sets a fit mode of the thumbnail.

## Syntax

### PHP

    public function getThumbnailFitMode() {
    }

    public function setThumbnailFitMode($value) {
    }

### Property Value

Type: string

The fit mode of the thumbnail.

The following values are supported:

Value | Description
--- | ---
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.
Width | means that the original image should be resized to be no wider than the ThumbnailWidth value.
Height | means that the original image should be resized to be no higher than the ThumbnailHeight value.
ActualSize | means that dimensions of the original image should be kept; however, it can be rotated or recompressed if necessary.

Default value is "Fit".

## Remarks

Note

Image 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 such thumbnail can be uploaded with Image Uploader Express. See the Comparison of Image Uploader Editions topic for details.

This property makes sense only if the Mode property has the Thumbnail value.

## See Also

### Reference

- Aurigma.ImageUploader.Converter.ThumbnailFitMode ASP.NET Property
- $au.converter.thumbnailFitMode JavaScript Property

### Manual

- Resizing and Recompressing