Text of the error message which states that the selected image is CMYK when CMYK images are not allowed for the upload.

Syntax

Initialize
JavaScript CopyCode imageCopy Code
<script type="text/javascript" src="iuembed.js"></script>
<script type="text/javascript">
var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
//...other params...
iu.addParam("MessageCmykImagesAreNotAllowedText", "CMYK images are not allowed");
//...other params...
iu.writeHtml();
</script>
Get/Set Value in Runtime
JavaScript CopyCode imageCopy Code
getImageUploader("ImageUploaderID").setMessageCmykImagesAreNotAllowedText(value);
value = getImageUploader("ImageUploaderID").getMessageCmykImagesAreNotAllowedText();
Property Value

A string value that specifies a text of the error message which states that the selected image is CMYK.

Default value is "CMYK images are not allowed".

Remarks

This property is necessary for localization of Image Uploader.

See Also

Examples
Localization
Restricting Files by Extensions and Types

Reference
CmykImagesAreNotAllowedText Property
AllowCmykImages Property