Switch that specifies whether Image Uploader should generate thumbnail from original image in the case when thumbnail saved in EXIF metadata is out of proportions of original image.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("AllowDisproportionalExifThumbnails", "true"); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setAllowDisproportionalExifThumbnails(value); value = getImageUploader("ImageUploaderID").getAllowDisproportionalExifThumbnails();
A boolean value (true
or false
). If true
Image Uploader displays disproportional EXIF thumbnails in the thumbnail list, otherwise the control resizes
original image to thumbnail size.
Default value is "true".
To accelerate folder navigation Image Uploader supports displaying EXIF thumbnails in the folder and upload panes when the
Thumbnails
view mode is set. Such thumbnails are created by the most of cameras and stored along with image data.
However, some cameras may create EXIF thumbnails which are out of proportions of original images. If so disproportional thumbnails
will have black stripes above and below them. In this case you can set this property to false
to regenerate preview thumbnails
from original images and get rid of black stripes or specify a true
value to display disproportional thumbnails instead.