POST request format used by Image Uploader to upload files.
<script type="text/javascript" src="iuembed.js"> </script> <script type="text/javascript"> var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500); //...other params... iu.addParam("PostFormat", "Common"); //...other params... iu.writeHtml(); </script>
getImageUploader("ImageUploaderID").setPostFormat(value); value = getImageUploader("ImageUploaderID").getPostFormat();
A member of the following enumeration that specifies POST format:
String value | Integer value | Description |
---|---|---|
Common | 0 | Default Image Uploader POST format. |
Rfc1867 | 1 | Rfc1867 standardized POST format. |
When you get this property value through the JavaScript, integer value will be returned (even if you initialize the property with a string value).
Default value is "Common".