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

ImageUploader.UploadThumbnail1JpegQuality Property

Supported in: ActiveX , Java

JPEG quality for the first thumbnail.

Syntax

Initialize

JavaScript
<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
//...other params...
iu.addParam("UploadThumbnail1JpegQuality", "100");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setUploadThumbnail1JpegQuality(value);
value = getImageUploader("ImageUploaderID").getUploadThumbnail1JpegQuality();

Property Value

A positive integer value that specifies a JPEG quality for the first thumbnail in range from 0 (the worst quality) to 100 (the best quality).

Default value is "100".

Remarks

You can reduce a thumbnail file size by specifying the lower quality.

If the fit mode is ActualSize, the image is recompressed (and therefore this property is applicable) only when the original image is not JPEG.

See Also

Manual

Reference