imageUploaderFlash.enableExifPreview Property HTML5/Flash Uploader JavaScript

Gets or sets a value indicating whether the uploader should try to extract a preview from EXIF.

Syntax

JavaScript Initialize
$au.imageUploaderFlash({
    //...other params...
    enableExifPreview: true,
    //...other params...
})
Get/Set Value at Runtime
$au.imageUploaderFlash('uploaderID').enableExifPreview(value);
value = $au.imageUploaderFlash('uploaderID').enableExifPreview();

Property Value

Type: Boolean

If true, the uploader will try to load a thumbnail from EXIF when a user adds an image to the upload list. Otherwise, it ignores EXIF thumbnails and generates a preview from the original data.

Default value is true.

Remarks

Extracting thumbnails from EXIF dramatically increases speed of the preview generation. Even for 10MB JPEG files the preview appears almost immediately. However in some cases the thumbnail stored in EXIF is not quite good - e.g. it may contain black fields or it may be incorrectly rotated. So if you feel that it may really confuse your users, it makes sense to turn this feature off.

See Also

Reference