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

Notification

Icon
Error

Options
Go to last post Go to first unread
Kev3232  
#1 Posted : Sunday, January 29, 2006 3:42:03 AM(UTC)
Kev3232

Rank: Member

Groups: Member
Joined: 3/8/2005(UTC)
Posts: 15

I have noticed a problem in your latest Image Uploader for Java. If I set "EnableRotation" to true or false, it always sends 0 in the form variable information on the server.

In other words, I am unable to determine if the user wished to rotate the image when choosing files.

Could you confirm this is not working?

FYI - I only wish to receive the original file, so thumbnails are not uploaded. The following code removes the thumbnails:

Code:
iu.addParam("UploadThumbnail1FitMode", "Off");
iu.addParam("UploadThumbnail2FitMode", "Off");
iu.addParam("UploadThumbnail3FitMode", "Off");


Thanks.

Edited by user Sunday, February 17, 2008 7:30:36 PM(UTC)  | Reason: Not specified

Alex Makhov  
#2 Posted : Tuesday, January 31, 2006 6:03:12 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello,

Sorry for the long delay.

As I understand you wish to retrieve Angle form value to recognize if the user has rotated an image.
I have tested your code and Angle is always right. Check your code.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
Kev3232  
#3 Posted : Wednesday, February 1, 2006 1:43:03 PM(UTC)
Kev3232

Rank: Member

Groups: Member
Joined: 3/8/2005(UTC)
Posts: 15

Alex,

Thanks for looking into this, but I continue to have a problem. It definitely happens on Windows and I'm running Java 1.5.0_06 (if that matters). Below are the parameters I pass to the Java component:

Code:
iu.addParam("AdditionalFormName", "upform");
iu.addParam("AllowMultipleSelection","True");
iu.addParam("AutoRecoverMaxTriesCount","1");
iu.addParam("AutoRecoverTimeOut","4000");
iu.addParam("BackgroundColor","#616463");
iu.addParam("EnableRotate","True");
iu.addParam("FileMask","*.jpg;*.jpeg;*.jpe;*.tiff;*.tif");
iu.addParam("FilesPerOnePackageCount","1");
iu.addParam("FolderPaneHeight","250");
iu.addParam("FolderView","Thumbnails");
iu.addParam("Layout","ThreePanes");
iu.addParam("MaxImageHeight","0");
iu.addParam("MaxImageWidth","0");
iu.addParam("MinImageHeight","0");
iu.addParam("MinImageWidth","0");
iu.addParam("Padding","5");
iu.addParam("PaneBackgroundColor","#ffffff");
iu.addParam("PreviewThumbnailActiveColor","#930205");
iu.addParam("PreviewThumbnailInactiveColor","#eeeeee");
iu.addParam("PreviewThumbnailSize","96");
iu.addParam("RedirectUrl", "/customer/ViewAlbum.aspx");
iu.addParam("ShowDebugWindow","False");
iu.addParam("ShowDescriptions","False");
iu.addParam("ShowStatusPane","True");
iu.addParam("SignatureFilter", "All");
iu.addParam("TimeOut", "0");
iu.addParam("TreePaneWidth","200");
iu.addParam("UncheckUploadedFiles","True");
iu.addParam("UploadThumbnail1Width","96");
iu.addParam("UploadThumbnail2Width","640");
iu.addParam("UploadThumbnail3Width","640");
iu.addParam("UploadThumbnail1Height","96");
iu.addParam("UploadThumbnail2Height","480");
iu.addParam("UploadThumbnail3Height","480");
iu.addParam("UploadThumbnail1JpegQuality","70");
iu.addParam("UploadThumbnail2JpegQuality","70");
iu.addParam("UploadThumbnail2JpegQuality","70");
iu.addParam("UploadThumbnail1FitMode", "Off");
iu.addParam("UploadThumbnail2FitMode", "Off");
iu.addParam("UploadThumbnail3FitMode", "Off");
iu.addParam("UploadView","List");



I rotate the image in the top right pane, drag and drop it into the bottom right pane, and click upload. No matter what I do, the form variable (Angle_1) always equals 0.

Any ideas? Thanks.

Edited by user Sunday, February 17, 2008 7:30:53 PM(UTC)  | Reason: Not specified

Alex Makhov  
#4 Posted : Wednesday, February 1, 2006 8:05:12 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello,

There is a bug in Image Uploader for Java: the items in Folder (upper) list and Upload (bottom) list are the different ones. So if the user drops the rotated item from the Folder list to the Upload list the rotation is lost. We will fix it in the future versions. Now please rotate your images in the Upload (bottom) list.
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.