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.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("UploadThumbnail2CompressOversizedOnly", "false"); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setUploadThumbnail2CompressOversizedOnly(value); value = getImageUploader("ImageUploaderID").getUploadThumbnail2CompressOversizedOnly();
A boolean value (true
or false
). If true
and:
Then the original file will be sent instead of the second thumbnail. In all other cases a thumbnail is created.
Default value is "false".