Gets or sets a width restriction for the thumbnail.

Syntax

PHP

public function getThumbnailWidth() {
}

public function setThumbnailWidth($value) {
}

Property Value

Type: integer

The width of the thumbnail.

Default value is 96.

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

Read about the ThumbnailFitMode property for more detailed information on how this property affects the thumbnail size.

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