Gets or sets the width restriction for the thumbnail.

Syntax

PHP

Initialize

public function getThumbnailWidth() {
}

public function setThumbnailWidth($value) {
}

Property Value

Type: integer

The width of the thumbnail.

Default value is 96.

Remarks

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.

Note

Maximum allowed thumbnail width is restricted to 2000 pixels. If you specify a value exceeding this limitation, it will be automatically set to 2000.