Enabling/disabling image upload

Image upload is enabled by default in Draft Space. This can be configured.

In the Admin.XMLCollectiveSpacesConfiguration.xml file, the imageupload enabled setting is set to yes by default. You can set it to no if you want to prevent users to upload images in the Repository.

Moreover, when the upload is enabled, you can set which resolution you want images to be set to when uploaded. By default, the resolution value will be the one set for Preview resolution. It can be set by specifying the name of the desired resolution element with an attribute to <preferredresolution> inside the imageupload enabled setting.

For example, if you want the images resolution to be set to High, and the element name of the resolution High is VRESHIGH, then:
<draftspacesettings>
		<imageupload enabled="yes">
			<!-- If not provided, the preferred upload resolution is taken from the settings preview resolution.  -->
			<preferredresolution ishvaluetype="element">VRESHIGH</preferredresolution>
		</imageupload>
	</draftspacesettings>