Gets or sets a value indicating whether an original image should be uploaded as the thumbnail in case when original image dimensions and file size are not bigger than dimensions and file size of this thumbnail.

Namespace: Aurigma.ImageUploader
Assembly: Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)

Syntax

Visual Basic

Public Property ThumbnailCompressOversizedOnly As Boolean

C#

public bool ThumbnailCompressOversizedOnly { get; set; }

Property Value

Type: System..::.Boolean

If true and:

  • The original file is JPEG;
  • No watermark is applied;
  • The dimensions of the original file are not bigger than the dimensions of the thumbnail;
  • The size in bytes of the original file is not greater than the size of the thumbnail.

Then the original file will be sent instead of the thumbnail. In all other cases a thumbnail is created.

Default value is false.

Remarks

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