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

Notification

Icon
Error

Options
Go to last post Go to first unread
StefanDi  
#1 Posted : Monday, May 28, 2007 6:57:40 PM(UTC)
StefanDi

Rank: Member

Groups: Member
Joined: 12/20/2006(UTC)
Posts: 9

Hello,

the following mistake appears: I have bragged iu.addParam ("MaxFileCount", "40"). If I am now in a folder, where more than 40 pictures are included and then I SELECT ALL click, I get an error message this the limit was crossed. BUT exactly the first 40 photos are selected. If I click upload now,no photo will be upload. I also do not get an error message. What do I wrong? Where is the error?

Many thanks! Greeting Stefan
Alex Makhov  
#2 Posted : Tuesday, May 29, 2007 3:54:57 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello Stefan,

Could your show your page source code?
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
StefanDi  
#3 Posted : Tuesday, May 29, 2007 7:28:40 PM(UTC)
StefanDi

Rank: Member

Groups: Member
Joined: 12/20/2006(UTC)
Posts: 9

Hello Alex,
thank you for your help.

Here is my code:
Or do you need also the upload.php?

Code:
      var iu = new ImageUploaderWriter("ImageUploader1", 550, 400);

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

	  iu.addParam("TreePaneWidth", "160");
      iu.addParam("PreviewThumbnailSize", "62");

      //important, dont upload the source!!
      iu.addParam("UploadSourceFile", "false");

	  //For Java applet only path to directory with JAR files should be specified (without file name).
	  iu.javaAppletCodeBase = "../";
	  iu.javaAppletCached = true;
	  iu.javaAppletVersion = "2.1.60.0";
      
      iu.showNonemptyResponse = "off";

      iu.addParam("Layout", "TwoPanes");
      iu.addParam("FolderView", "Thumbnails");          

      iu.addParam("UploadThumbnail1FitMode", "Fit");
      iu.addParam("UploadThumbnail1Width", "600");
      iu.addParam("UploadThumbnail1Height", "600");
      iu.addParam("UploadThumbnail1JpegQuality", "100");
      iu.addParam("UploadThumbnail1CopyExif", "false");
      
      iu.addParam("UploadThumbnail2FitMode", "Fit");
      iu.addParam("UploadThumbnail2Width", "120");
      iu.addParam("UploadThumbnail2Height", "120");
      iu.addParam("UploadThumbnail2JpegQuality", "100");
      iu.addParam("UploadThumbnail2CopyExif", "false");
      
      iu.addParam("UploadThumbnail3FitMode", "Fit");
      iu.addParam("UploadThumbnail3Width", "60");
      iu.addParam("UploadThumbnail3Height", "60");
      iu.addParam("UploadThumbnail3JpegQuality", "100");
      iu.addParam("UploadThumbnail3CopyExif", "false");

      iu.addParam("ShowButtons", "True");
      iu.addParam("ShowUploadListButtons", "True");
      iu.addParam("CheckFilesBySelectAllButton", "True");

      iu.addParam("ShowStatusPane", "False");
      
      iu.addParam("ShowUploadCompleteMessage", "true");

      iu.addParam("Action", "{ACTION_UPLOAD}");     // HERE  THE TEMPLATESYSTEM FILL IN photoupload.php?id=fr2w32
      iu.addParam("RedirectUrl", "editgallery.php?a=2");
      iu.addParam("LicenseKey", "XXXXXXXXXXXXXXX"); // I VE DELETE

      iu.addParam("AllowRotate", "True");

      iu.addParam("MaxFileCount", "40");
      iu.addParam("MaxFileSize", "0");
      iu.addParam("MaxTotalFileSize", "125829120");
      iu.addParam("FileMask", "*.jpg;*.jpeg;*.jpe;*.bmp;*.gif;*.png");

      iu.addParam("Padding", "0");
      iu.addParam("TreePaneWidth", "180");
      iu.addParam("BackgroundColor", "#ffffff");

      //Event Handler
      iu.addEventListener("UploadFileCountChange", "ImageUploader_UploadFileCountChange");
      iu.addEventListener("ViewChange", "ImageUploader_ViewChange");

      iu.fullPageLoadListenerName = "fullPageLoad";





Thank you,

bye Stefan

Edited by user Friday, February 22, 2008 4:46:23 PM(UTC)  | Reason: Not specified

Alex Makhov  
#4 Posted : Wednesday, June 6, 2007 3:54:01 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello,

Here is a part of your code:

Code:
//Event Handler
iu.addEventListener("UploadFileCountChange", "ImageUploader_UploadFileCountChange");
iu.addEventListener("ViewChange", "ImageUploader_ViewChange");

iu.fullPageLoadListenerName = "fullPageLoad";

Have you implemented event handling functions in your page code? There should be the following functions:
ImageUploader_UploadFileCountChange
ImageUploader_ViewChange
fullPageLoad

So if any one of these functions are missing, that could be the reason of the problem.

Edited by user Friday, February 22, 2008 4:47:09 PM(UTC)  | Reason: Not specified

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.