Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Upload Suite docs

ImageUploader.UploadThumbnail2JpegQuality Property

Supported in: ActiveX , Java

JPEG quality for the second 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("UploadThumbnail2JpegQuality", "100");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setUploadThumbnail2JpegQuality(value);
value = getImageUploader("ImageUploaderID").getUploadThumbnail2JpegQuality();

Property Value

A positive integer value that specifies a JPEG quality for the second 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