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

Using Private-label Version of Image Uploader JavaScript

When users download and install Image Uploader to the browser, they see the security dialog which asks whether they trust Aurigma, Inc. and want to install the control. However, if you prefer to display your company name instead of Aurigma, Inc., rename Image Uploader control, and sign it with your own digital signature you need to order a private-label version of Image Uploader. Additionally, private-label versions can contain enhanced functionality not available in the standard version. If you need a private-label version of Image Uploader, please, contact our sales team at sales@aurigma.com.

Note

Private-lable versions are available in Image Uploader Premium only. See the Comparison of Image Uploader Editions topic for details.

This article describes how to use a private-label version of Image Uploader using JavaScript wrapper. Walk through the following steps to configure the wrapper to launch private-label version of Image Uploader:

  1. Obtain *.cab and *.jar files as well as private-label embedding instructions from Aurigma, Inc. For instance, you have MyUploader.cab and MyUploader.jar files.
  2. Copy these files to any folder of your application.
  3. Configure the activeXControl property of the uploader object in the following way:
    1. Specify a path to MyUploader.cab file as a value of the codeBase property.
    2. Specify a path to MyUploader_x64.cab file as a value of the codeBase64 property.
    3. Specify CLSID and PROGID of the ActiveX control as values of the classId and progId properties respectively.
  4. Configure the uploader.javaControl property as follows:
    1. Specify a path to MyUploader.jar file as a value of the codeBase property.
    2. Specify Java applet class name with the className property.

All the information you need to specify using these properties will be provided by Aurigma, Inc. If some parameters were not sent, you should use default values.

The code sample below demonstrates how to implement this.

JavaScript
$au.uploader({
	id: 'Uploader1',
	activeXControl: {
		codeBase: "MyUploader.cab",
		codeBase64: "MyUploader_x64.cab",
		classId: "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
		progId: "MyCompany.MyUploader"
	},
	javaControl: {
		codeBase: "MyUploader.jar",
		className: "com.mycompany.myuploader.MyUploader.class"
	}
});

See Also

Reference

Manual