Welcome Guest! You need to login or register to make posts.



Go to last post Go to first unread
#1 Posted : Tuesday, September 12, 2006 10:38:26 PM(UTC)

Rank: Member

Groups: Member
Joined: 10/24/2005(UTC)
Posts: 9


I am migrating to ImageUploader 4.0 and am using the property "AdditionalFormName" where my other parameters reside which i need on the server. I have some hidden parameters and a select values that i need on the server when submitted. When i submit the form, the form members' values are not submitted and i cannot see them on the server.

Please help!!!

#2 Posted : Tuesday, September 12, 2006 10:47:59 PM(UTC)

Rank: Member

Groups: Member
Joined: 10/24/2005(UTC)
Posts: 9

here is my code for the ImageUploader...

//For ActiveX control full path to CAB file (including file name) should be specified.
iu.activeXControlCodeBase = "ImageUploader4.cab";
iu.activeXControlVersion = "4,0,33,0";

iu.showNonemptyResponse = "alert";

//Configure appearance and behaviour.
iu.addParam("PaneLayout", "TwoPanes");
iu.addParam("TreePaneWidth", "205");
iu.addParam("ShowButtons", "False");
iu.addParam("CheckFilesBySelectAllButton", "True");
iu.addParam("ShowDebugWindow", "false");

iu.addParam("FileIsTooLargeText", "File is too large.");
iu.addParam("MessageMaxFileSizeExceededText", "Max filesize exceeded.");

iu.addParam("UploadThumbnail1FitMode", "fit");
iu.addParam("UploadThumbnail1Width", "120");
iu.addParam("UploadThumbnail1Height", "120");
iu.addParam("UploadThumbnail1JpegQuality", "60");

iu.addParam("ShowDebugWindow", "True");
iu.addParam("AdditionalFormName", "aForm");
iu.addParam("EnableRotate", "False");
iu.addParam("CodePage", "1252");
iu.addParam("ShowUploadCompleteMessage", "False");

//Configure colors.
iu.addParam("BackgroundColor", "#ffffff");
iu.addParam("SplitterLineColor", "#0066cc");

//Configure border and splitter line style.
iu.addParam("FolderPaneBorderStyle", "None"); //NOT SUPPORTED IN JAVA
iu.addParam("UploadPaneBorderStyle", "None"); //NOT SUPPORTED IN JAVA
iu.addParam("TreePaneBorderStyle", "None"); //NOT SUPPORTED IN JAVA
iu.addParam("SplitterLineStyle", "Dot"); //NOT SUPPORTED IN JAVA

//Configure thumbnail settings.
iu.addParam("UploadThumbnail1FitMode", "Fit");
iu.addParam("UploadThumbnail1Width", "120");
iu.addParam("UploadThumbnail1Height", "120");
iu.addParam("UploadThumbnail1JpegQuality", "60");

//Configure user quota restriction. In real-life application these values should be 
//loaded from server.
iu.addParam("MaxFileCount", "10");
iu.addParam("MaxFileSize", "52428800");

//Configure upload settings.
iu.addParam("FilesPerOnePackageCount", "100");	// 100 files go in one request.
iu.addParam("AutoRecoverMaxTriesCount", "10");
iu.addParam("AutoRecoverTimeOut", "10000");

//Configure URL files are uploaded to.
iu.addParam("Action", "upload.cpic?_event_=upload");   //

//Tell Image Uploader writer object to generate all necessary HTML code to embed 
//Image Uploader to the page.

Edited by user Tuesday, February 19, 2008 2:10:54 PM(UTC)  | Reason: Not specified

Alex Makhov  
#3 Posted : Wednesday, September 13, 2006 1:33:53 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
Joined: 8/3/2003(UTC)
Posts: 998


Your code is likely correct. Could you show your additional form (aForm) insertion code?
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.