This documentation is for the old version. Go to the latest Upload Suite docs

ImageUploader.UploadThumbnail1CompressOversizedOnly Property

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

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

Syntax

Visual Basic
Public Property UploadThumbnail1CompressOversizedOnly As Boolean
C#
public bool UploadThumbnail1CompressOversizedOnly { 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 first thumbnail;
  • The size in bytes of the original file is not greater than the size of the first thumbnail.

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

Default value is false.

Remarks

This property corresponds to UploadThumbnail1CompressOversizedOnly client-side property.

See Also

Reference