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

<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

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.

Note

If you want to specify a multiline text use the "\n" sequence to separate lines.