Switch that enables large preview of an image in a separate window.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("AllowLargePreview", "false"); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setAllowLargePreview(value); value = getImageUploader("ImageUploaderID").getAllowLargePreview();
A boolean value (true
or false
). If true
, a magnifier icon is visible when the user hovers a mouse pointer over a thumbnail. By clicking this icon the user can open a larger preview of the image, if it is available.
Default value is "false".
You can specify a custom icon using the LargePreviewIconImageFormat property.