Rank: Member
Groups: Member
Joined: 5/22/2007(UTC) Posts: 7
|
Ok - I have been searching the forum but don't see the answer directly. I have recently lost my main programming company that installed the Imageuploader utility - which we absolutley love - but now I am left trying to figure things out. Many of our clients are trying to upload images which are great than 2M - sometimes up to 5M. Does Imageuploader give us the option to upload image files of this size and if so what is the parameter to set? Here is a piece of our source code... Code:<!-- Aurigma Image Uploader -->
<script language="javascript" src="iuembed.js"></script>
<script language="javascript">
var iu = new ImageUploaderWriter("ImageUploader", 770, 600);
// If you do not want to use ActiveX or Java version, set the appropriate
// property to false.
iu.activeXControlEnabled = true;
iu.javaAppletEnabled = true;
iu.activeXControlCodeBase = "ImageUploader4.cab";
iu.javaAppletCodeBase="./";
// ... initialize params ...
iu.showNonemptyResponse = "off";
//Configure appearance and behaviour.
iu.addParam("PaneLayout", "TwoPanes");
//iu.addParam("TreePaneWidth", "205");
//iu.addParam("ShowButtons", "False");
iu.addParam("ShowDebugWindow", "true");
iu.addParam("ShowDescriptions", "false");
iu.addParam("RememberLastVisitedFolder", "true");
//Configure colors.
iu.addParam("BackgroundColor", "#ADD8E6");
iu.addParam("SplitterLineColor", "#ADD8E6");
iu.addParam("TreePaneBackgroundColor", "#AFF3AF");
//iu.addParam("FolderPaneBackgroundColor", "#AFF3AF");
iu.addParam("UploadPaneBackgroundColor", "#ADD8E6");
//Exclude the source file from upload because only
//resized versions of the photo will be sent.
iu.addParam("UploadSourceFile", "false");
//Configure settings of the optimized image. Optimized image
//is resized to 800x600 with JPEG quality = 90 and EXIF
//metadata is preserved.
iu.addParam("UploadThumbnail1FitMode", "Fit");
iu.addParam("UploadThumbnail1Width", "800");
iu.addParam("UploadThumbnail1Height", "600");
iu.addParam("UploadThumbnail1JpegQuality", "90");
iu.addParam("UploadThumbnail1CopyExif", "true");
//Configure thumbnail settings.
iu.addParam("UploadThumbnail2FitMode", "Fit");
iu.addParam("UploadThumbnail2Width", "101");
iu.addParam("UploadThumbnail2Height", "76");
iu.addParam("UploadThumbnail2JpegQuality", "90");
//Configure user quota restriction. In real-life application these values should be
//loaded from server.
iu.addParam("MaxFileCount", "<?php echo $photos_left; ?>");
iu.addParam("MaxTotalFileSize", "25242880");
//Configure upload settings.
iu.addParam("FilesPerOnePackageCount", "-1");
iu.addParam("AutoRecoverMaxTriesCount", "10");
iu.addParam("AutoRecoverTimeOut", "10000");
//Configure URL files are uploaded to.
<?php $upload_params = "?property_ID=$property_ID&photos_left=$photos_left&account_ID=$account_ID"; ?>
iu.addParam("Action", "upload_multi.php<?php echo $upload_params; ?>");
//Configure URL where to redirect after upload.
iu.addParam("RedirectUrl", "../manage_photos.php?property_ID=<?php echo $row_rsProperty['property_ID'];?>");
//Add event handlers.
iu.addEventListener("UploadFileCountChange", "ImageUploader_UploadFileCountChange");
iu.addEventListener("ViewChange", "ImageUploader_ViewChange");
iu.fullPageLoadListenerName = "fullPageLoad";
// license
iu.addParam("LicenseKey", "6370-9437-8408-6352;7111-7775-6886-6903");
// As soon as you call this method, all necessary HTML code is inserted
// into the page on the current position.
iu.writeHtml();
</script>
Edited by user Friday, February 22, 2008 6:15:46 PM(UTC)
| Reason: Not specified
|