Switch that specifies whether an original file should be uploaded as the second thumbnail in case when original image dimensions and file size are not bigger than dimensions and file size of the second thumbnail.

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

Syntax

Visual Basic

Public Property UploadThumbnail2CompressOversizedOnly As Boolean

C#

public bool UploadThumbnail2CompressOversizedOnly { get; set; }

Property Value

A boolean value (true or false). 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 second thumbnail;
  • The size in bytes of the original file is not greater than the size of the second thumbnail.

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

Default value is false.

Remarks

This property corresponds to UploadThumbnail2CompressOversizedOnly client-side property.