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

Notification

Icon
Error

Options
Go to last post Go to first unread
far41  
#1 Posted : Monday, December 11, 2006 5:12:36 AM(UTC)
far41

Rank: Advanced Member

Groups: Member
Joined: 10/26/2006(UTC)
Posts: 30

Hello,

We have bought Image Uploader dual and we are facing a problem with customers under Windows 98 and IE6 (so with the activeX).

- we don't see the thumbnails of the photos on the hard disk
- we can select and add photos, then upload wihtout any error message, but actually what we upload is not the photos : it is as if we were just uploading the icons withtout any image. Each "uploaded photo" is about 4ko, with the jpeg extension. But it's not photos.
- we don't have any rotation on the photos.

The windows98 version was old, so we did a windowsupdate but no success.

This is really very important for us. So please let us know if you know what do do to make sure it works with such a configuration.

Thank you.
Alex Makhov  
#2 Posted : Monday, December 11, 2006 12:59:40 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello,

We have tried to reproduce the specified behavior with Image Uploader for ActiveX 4.0.70.0 on Win98 and it works fine.
Please, try to update to the last version and if it does not help show your page code.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
far41  
#3 Posted : Monday, December 11, 2006 6:16:35 PM(UTC)
far41

Rank: Advanced Member

Groups: Member
Joined: 10/26/2006(UTC)
Posts: 30

Thanks Alex for your answer.
The first tests were with an old windows 98. Since it didn't work we decided to do a windowsupdate and we have installed all the critical stuff (18Mb total), but still no success.

Here is the configuration code:

Code:
//Create JavaScript object that will embed Image Uploader to the page.
    var iu = new ImageUploaderWriter("ImageUploader1", 900, 500);

    //For ActiveX control full path to CAB file (including file name) should be specified.
    iu.activeXControlCodeBase = "../Drivers/ImageUploader4.cab";
    iu.activeXControlVersion = "4,0,63,0";
    
    //Unlock
    iu.addParam("LicenseKey", "XXXX-XXXX-XXXX-XXXX;ZZZZ-ZZZZ-ZZZZ-ZZZZ");

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

    iu.showNonemptyResponse = "off";

    //Configure appearance and behaviour.
    iu.addParam("PaneLayout", "ThreePanes");
    iu.addParam("FolderPaneHeight", "250");
    iu.addParam("ShowDebugWindow", "true");
    iu.addParam("ShowDescriptions", "false");
    iu.addParam("BackgroundColor", "#ffffff");
    iu.addParam("AllowMultipleRotate", "true");
    iu.addParam("AllowMultipleRemove", "true");
    iu.addParam("ButtonDeleteFilesText", "");

    //Configure Image Uploader to rotate photos automatically 
    //according to the orientation stored in EXIF metadata.
    iu.addParam("EnableAutoRotate", "true");
    iu.addParam("ButtonSendImageFormat", "width=100; height=50;");

    //Append the form with total file size to the upload.  
    //iu.addParam("AdditionalFormName", "Form1");

    //Configure file mask to upload JPEG images only.
    iu.addParam("FileMask", "*.jpeg;*.jpg;*.jpe;");

    //Set image size restrictions.
    iu.addParam("MinImageWidth", "120");
    iu.addParam("MinImageHeight", "120");

    //Exclude the source file from upload because only 
    //resized versions of the photo will be sent.
    iu.addParam("UploadSourceFile", "false");
    
    //Configure upload settings.
    iu.addParam("Action", "MyPage.aspx");
    iu.addParam("FilesPerOnePackageCount", "1");
    iu.addParam("AutoRecoverMaxTriesCount", "10");
    iu.addParam("AutoRecoverTimeOut", "10000");

    //Allow upload not only files, but also entire folders.
    //iu.addParam("AllowFolderUpload", "true");

    //Configure settings of the optimized image. Optimized image
    //is resized to 1200x960 with JPEG quality = 60 and EXIF 
    //metadata is preserved.
    iu.addParam("UploadThumbnail1FitMode", "Fit");
    iu.addParam("UploadThumbnail1Width", "1280");
    iu.addParam("UploadThumbnail1Height", "960");
    iu.addParam("UploadThumbnail1JpegQuality", "60");
    iu.addParam("UploadThumbnail1CopyExif", "true");
    iu.addParam("UploadThumbnail1CompressOversizedOnly", "true");
    
    //Configure user quota restriction. In real-life application these values should be 
    //loaded from server.
    //iu.addParam("MaxFileCount", "10");
    //iu.addParam("MaxTotalFileSize", "5242880");
    var maxNb = document.getElementById("<%=maxNbH.ClientID %>");
    var maxMb = document.getElementById("<%=maxMbH.ClientID %>");
    iu.addParam("MaxFileCount", maxNb.value);
    iu.addParam("MaxTotalFileSize", maxMb.value);

    //Configure URL files are uploaded to.
    iu.addParam("Action", "MyPage.aspx");

    //Add event handlers.
    iu.addEventListener("UploadFileCountChange", "ImageUploader_UploadFileCountChange");
    iu.addEventListener("Progress", "ImageUploader_Progress");
    iu.addEventListener("ViewChange", "ImageUploader_ViewChange");

    iu.fullPageLoadListenerName = "fullPageLoad";

Edited by user Tuesday, February 19, 2008 6:30:55 PM(UTC)  | Reason: Not specified

Alex Makhov  
#4 Posted : Monday, December 11, 2006 8:12:05 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello,

Do you mean you have files which are not a JPEG files but having the “JPEG” extension. Such files are not JPEGs and they could not be rotated. For example if you rename the file Book.pdf so Book.jpg it is not an image, right?

P.S. We have tried to reproduce the specified behavior with your code using Image Uploader for ActiveX 4.0.63.0 – still works as it has to work.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
far41  
#5 Posted : Tuesday, December 12, 2006 2:14:28 AM(UTC)
far41

Rank: Advanced Member

Groups: Member
Joined: 10/26/2006(UTC)
Posts: 30

Thank you Alex for taking care of my problem.

Yes you are right. Everything works as if it were fine (except the rotation that we can't see) : we can add photos and export them, and all the messages say it went fine.

But the uploader shows actually that each image is around very smal (4kb...), so that the upload is very fast ! And the result is that we can only see icons in our next page.

I thought at the beginning that the photos were actually not photos but just files with a jpeg extension. A quick check in explorer proved that they were really photos. And these photos could be uploaded without problem under xp.

It's as if we were just exporting empty jpeg files since the resize we do on the server is working fine. The uploaded images are all the same : they are a folder icon with a pencil.

I send you a sample by email.

Thank you.
Alex Makhov  
#6 Posted : Friday, December 15, 2006 4:03:15 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello,

We have reproduced and fixed the bug. The fix will be available in the near release.
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.