Switch that specifies whether it is possible to select CMYK images for the upload.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("AllowCmykImages", "true"); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setAllowCmykImages(value); value = getImageUploader("ImageUploaderID").getAllowCmykImages();
A boolean value (true
or false
). If true
, the user can select CMYK images for the upload.
Otherwise CMYK images cannot be selected.
Default value is "true".
If the value of this property is false
, CMYK images cannot be selected for the upload. There are two ways to warn users
in that case:
Thumbnails
view mode is used).
The caption can be customized using the CmykImagesAreNotAllowedText property.