Converter.ThumbnailCompressOversizedOnly Property HTML5/Flash Uploader PHP

Supported technologies:

Gets or sets a value indicating whether the uploader should ignore the thumbnail settings if the resized image turns out to be larger than the original file.

Syntax

PHP Initialize
public function getThumbnailCompressOversizedOnly() {
}

public function setThumbnailCompressOversizedOnly($value) {
}

Property Value

Type: boolean

If true, the ThumbnailFitMode is Thumbnail and the resized copy is larger than the original file, the uploader will ignore the resized copy and upload the source file instead.

Default value is false.

Remarks

Sometimes it may turn out that the resized copy is larger than the original file. For example, it may happen if the source image has low JPEG quality, while you set the ThumbnailJpegQuality to a large value.

If your goal is to optimize the traffic, you may prefer sending the original file instead of the resized copy (as it is not really optimized). In this case, set this property to true.

See Also

Reference