## Aurigma Image Uploader 6.1 Dual

# ImageUploader.AllowCmykImages Property

- Collapse All Sections
- See Also
- Language Filter ( all languages )
- Supported in: ActiveX , Java

Switch that specifies whether it is possible to select CMYK images for the upload.

## Syntax

### Initialize

### JavaScript

    <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

    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 Thumbnails view 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.

## See Also

### Examples

- Image Uploader User Interface
- Restricting Files by Extensions and Types

### Reference

- MessageCmykImagesAreNotAllowedText Property
- CmykImagesAreNotAllowedText Property