## Aurigma Image Uploader 6.1 Dual

# ImageUploader.PackageBeforeUpload Event

- Collapse All Sections
- See Also
- Language Filter ( all languages )
- Supported in: ActiveX , Java

Raised when the current package is about to be uploaded.

## Syntax

### JavaScript

    <script type="text/javascript" src="iuembed.js">  </script>
    <script type="text/javascript">
    function ImageUploaderID_PackageBeforeUpload(PackageIndex) {
    	//...your code...
    }
    var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
    //...params...
    //...other event listeners...
    iu.addEventListener("PackageBeforeUpload", "ImageUploaderID_PackageBeforeUpload");
    //...other event listeners...
    iu.writeHtml();
    </script>

### Parameters

PackageIndex

  Zero-based index of the package (i.e. request) inside the current upload session.

## See Also

### Examples

- Restoring Upload Pane Content

### Reference

- PackageComplete Event
- PackageProgress Event
- PackageError Event
- BeforeUpload Event