JPEG quality for the second thumbnail.

Syntax

Initialize
JavaScript CopyCode imageCopy Code
<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 CopyCode imageCopy Code
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

Examples
Resizing and Rotating Images

Reference
UploadThumbnail2BackgroundColor Property
UploadThumbnail2CompressOversizedOnly Property
UploadThumbnail2CompressionMode Property
UploadThumbnail2CopyExif Property
UploadThumbnail2CopyIptc Property
UploadThumbnail2FitMode Property
UploadThumbnail2Height Property
UploadThumbnail2ResizeQuality Property
UploadThumbnail2Watermark Property
UploadThumbnail2Width Property