Rank: Member
Groups: Member
Joined: 6/1/2006(UTC) Posts: 6
|
I am using imageuploader 4.1 with the multiple description sample and persistsAspUpload. When I upload files with the FilesPerOnePackageCount=1, it only posts the title from the first image. It acks like there is a problem with the count for the title. I noticed the title box on that page is done through the addfield option in the javascript, I don't know if this has anything to do with it. If I set FilesPerOnePackageCount=10, and upload 20 images, the title from the 2nd ten mirrors the title from the 1st 10. If I disable or set FilesPerOnePackageCount=-1 then it works correctly. Is there another setting or workaround to fix this? Code:<script type="text/javascript">
//Create JavaScript object that will embed Image Uploader to the page.
var iu = new ImageUploaderWriter("ImageUploader1", 600, 225);
iu.addParam("FileMask", "*.jpg");
iu.addParam("FilesPerOnePackageCount", "1");
iu.addParam("AutoRecoverMaxTriesCount", "5");
iu.addParam("AutoRecoverTimeOut", "5");
//For ActiveX control full path to CAB file (including file name) should be specified.
iu.addParam("LicenseKey", "5607-9549-8159-8663");
iu.activeXControlCodeBase = "../ImageUploader4.cab";
iu.activeXControlVersion = "4,1,1,0";
iu.activeXControlEnabled = true;
//For Java applet only path to directory with JAR files should be specified (without file name).
//iu.javaAppletCodeBase = "../";
//iu.javaAppletCached = false;
//iu.javaAppletVersion = "2.1.1.0";
iu.showNonemptyResponse = "OFF";
//Configure appearance.
//iu.addParam("AdditionalFormName", "Form2");
iu.addParam("PaneLayout", "ThreePanes");
iu.addParam("ShowUploadCompleteMessage", "False");
iu.addParam("FolderView", "Thumbnails");
iu.addParam("BackgroundColor", "#ffffff");
iu.addParam("ShowUploadListButtons", "true");
iu.addParam("ButtonRemoveFromUploadListText", "");
iu.addParam("ButtonRemoveAllFromUploadListText", "");
iu.addParam("ShowDescriptions", "False");
iu.addParam("EnableRotate", "false");
iu.addParam("ShowButtons", "False");
//Hide standard upload pane.
iu.addParam("FolderPaneHeight", "-1");
//Configure thumbnail settings.
iu.addParam("UploadThumbnail1FitMode", "Off");
iu.addParam("UploadThumbnail1Width", "120");
iu.addParam("UploadThumbnail1Height", "120");
iu.addParam("UploadThumbnail1JpegQuality", "60");
//Configure URL files are uploaded to.
iu.addParam("Action", "<%=GetUploadUrl()%>");
//Configure URL where to redirect after upload.
iu.addParam("RedirectUrl", "<%=GetGalleryUrl()%>");
//Add event handlers.
iu.addEventListener("UploadFileCountChange", "ImageUploader_UploadFileCountChange");
iu.addEventListener("BeforeUpload", "ImageUploader_BeforeUpload")
iu.fullPageLoadListenerName = "fullPageLoad";
//Tell Image Uploader writer object to generate all necessary HTML code to embed
//Image Uploader to the page.
iu.writeHtml();
Edited by user Wednesday, February 20, 2008 7:06:25 PM(UTC)
| Reason: Not specified |