Switch that specifies whether it is possible to select CMYK images for the upload.
Syntax
Initialize
| JavaScript | Copy Code
|
|---|---|
<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> |
|
Get/Set Value in Runtime
| JavaScript | Copy Code
|
|---|---|
getImageUploader("ImageUploaderID").setAllowCmykImages(value);
value = getImageUploader("ImageUploaderID").getAllowCmykImages();
|
|
Property Value
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".
Remarks
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:
-
The appropriate thumbnails are marked with the special caption in the folder pane (if the
Thumbnailsview mode is used). The caption can be customized using the CmykImagesAreNotAllowedText property. - The error message appears whenever the user tries to select CMYK image for the upload. You can specify this message text using the MessageCmykImagesAreNotAllowedText property.
Copy Code