This documentation is for the old version. Go to the latest Upload Suite docs

ImageUploader.MetaDataSeparator Property

Supported in: ActiveX , Java

Sequence of characters used to separate string stored in one metadata field (such as IptcKeyword).

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("MetaDataSeparator", " ");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setMetaDataSeparator(value);
value = getImageUploader("ImageUploaderID").getMetaDataSeparator();

Property Value

A string value that specifies metadata separator.

Default value is " ".

Remarks

Some metadata fields like IptcKeyword can contain multiple string values. Suppose you upload an image which contains several keywords: portrait, old photo, black and white. All these keywords are stored in one IptcKeyword field. So, if you specified this field for upload (using the ExtractIptc property) the IptcKeyword_1 POST field will contain all these keywords gathered into one string separated with this property value. For example, if you set it to the ";" you will get the "portrait;old photo;black and white" POST field value.

See Also

Manual

Reference