Raised when the current package is about to be uploaded.
<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>
Zero-based index of the package (i.e. request) inside the current upload session.