logo


Installation - MyImageUploader
General
MyImageUploader runs in browser insided a HTML page. To install MyImageUploader you need to add some HTML code in your upload page and put the *.jar files of the image uploader on your server. Below some examples are given of the HTML code. Note that the MyImageUploader Free Edition contains full working examples of the ImageUploader.

Note that depending on the version and edition you are using you need to change the name of the jar file in the following examples. See for the correct file name the zip file you have bought or downloaded.

Example 1
In this example all *.jar files and the html file are located in the same folder.

<applet name="MyImageUploader" 
     code="om.javaatwork.myimageuploader.MyImageUploader.class" 
     archive="myimageuploader-standard-signed-1.0.jar, labels.jar" 
     width="750"  height="400">
        <param name="uploadURL" value="<your-upload-url>">
        <param name="codebase_lookup" value="false">
        <param name="java_arguments" value="-Xms256m">
</applet>
basic configuration

Example 2
In this example the *.jar files are stored in a separate folder called 'applets'. Note that this folder must be a sub folder of the folder where the HTML page is located.

<applet name="MyImageUploader" 
     code="om.javaatwork.myimageuploader.MyImageUploader.class" 
     codebase="applets/" 
     archive="myimageuploader-standard-signed-1.0.jar, labels.jar" 
     width="750"  height="400">
        <param name="uploadURL" value="<your-upload-url>">
        <param name="codebase_lookup" value="false">
        <param name="java_arguments" value="-Xms256m">
</applet>
configuration where the *.jar files are stored in seperated folder

Example 3
This example uses the German language file. The German labels are stored in the file labels_de.jar. The German language can be enabled by adding the labels_de.jar file to the archive attribute and by adding the language param.

<applet name="MyImageUploader" 
     code="om.javaatwork.myimageuploader.MyImageUploader.class" 
     archive="myimageuploader-standard-signed-1.0.jar, labels_de.jar, labels.jar" 
     width="750"  height="400">
        <param name="uploadURL" value="<your-upload-url>">
        <param name="language" value="de">
        <param name="codebase_lookup" value="false">
        <param name="java_arguments" value="-Xms256m">
</applet>

configuration with a language file

dot