This element allows for the configuration of information which is used when using HTTP image upload within Ephox EditLive! for Java.
<editLiveForJava>
<mediaSettings>
<images>
<httpImageUpload>
<editLiveForJava> ... <mediaSettings> <images> <httpImageUpload ... /> ... </images> </mediaSettings> ... </editLiveForJava> |
Attribute | Description |
base | This attribute defines the location where images can be found after they have been uploaded. For more information please see the article on HTTP image upload. |
href | This attribute defines the location on the Web server of the script which handles image uploads. For more information please see the article on HTTP image upload. |
Element | Description |
<httpUploadData> | This element is used to provide extra information when performing a HTTP upload. This can be used so that extra information is provided to your HTTP upload handler script. Information is provided in name and value pairings. |
The following example demonstrates how to define the base and href attributes for EditLive! for Java.
<editLiveForJava>
...
<mediaSettings>
<images>
<httpImageUpload
base="http://yourserver.com/imagedir/" href="http://yourserver.com/scripts/uploadhandler.asp"/>
...
</images>
</mediaSettings>
...
</editLiveForJava>
The <httpImageUpload> element can appear only once within the <images> element.
If there is no <httpUploadData> element(s) then <httpImageUpload> must be a complete tag, it cannot contain a tag body. Therefore the tag must be closed in the same line. It should appear as below:
<httpImageUpload base=... />
If there are <httpUploadData> elements present then the <httpImageUpload> element needs to have both opening and closing tags. It should appear as below:
<httpImageUpload base=... >
<httpUploadData name=... />
<httpUploadData name=... />
</httpImageUpload>
Copyright © 2001-2004 Ephox Corporation. All Rights Reserved.