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

Notification

Icon
Error

Options
Go to last post Go to first unread
cnapan  
#1 Posted : Sunday, January 20, 2008 1:15:58 AM(UTC)
cnapan

Rank: Member

Groups: Member
Joined: 1/3/2008(UTC)
Posts: 10

Hello,

I've discovered a problem relating to the uploading of images marked for rotation.

This problem only happens on the Java version. The activeX version works fine. (I'm using version ImageUploader version 5.0.15.0 on a recent cut of Firefox running on XP)

My scenario:

I want to upload three sizes of thumbnail for each image selected (i.e. I'm not uploading the original image.)

Here's my spec for the three thumbnails:

Code:
var mini_size = "2048"; 
iu.addParam("UploadThumbnail1FitMode", "Fit");
iu.addParam("UploadThumbnail1Width", mini_size);
iu.addParam("UploadThumbnail1Height", mini_size);
iu.addParam("UploadThumbnail1JpegQuality", "70");
iu.addParam("UploadThumbnail1CopyExif", "false");
iu.addParam("UploadThumbnail1CompressOversizedOnly", "true");
mini_size = "100";
iu.addParam("UploadThumbnail2FitMode", "Fit");
iu.addParam("UploadThumbnail2Width", mini_size);
iu.addParam("UploadThumbnail2Height", mini_size);
iu.addParam("UploadThumbnail2JpegQuality", "70"); 
iu.addParam("UploadThumbnail2CopyExif", "false"); 	
mini_size = "512";
iu.addParam("UploadThumbnail3FitMode", "Fit");
iu.addParam("UploadThumbnail3Width", mini_size);
iu.addParam("UploadThumbnail3Height", mini_size);
iu.addParam("UploadThumbnail3JpegQuality", "70"); 
iu.addParam("UploadThumbnail3CopyExif", "false"); 




On the java version *only*, any images I mark for rotation fail to be sent as requested for the first thumbnail size only.

So for example, in the $_POST data, I get this (for the broken thumbnail)

[FileName_1] => DSC00279.JPG
[Thumbnail1FileSize_1] => 1086
[Thumbnail1Width_1] => -1
[Thumbnail1Height_1] => -1
[Thumbnail1Succeeded_1] => false
[UploadFile1CompressionMode_1] => Icon

Note that:
1) The size isn't set
2) The compression mode isn't jpeg as required
3) The size is far smaller than I expect of a large thumbnail.

If I rerun, using IE7 (active X), then it works perfectly, using the same uploaded source image (which is a jpeg file).

Things I've tried which don't make the problem go away:
-saving exif with the thumbnails
-removing the CompressOverSizedOnly parameter.
-using a different source file
-using source files with different dimensions.

Note that the other two thumbnails seem to be generated properly.

Edited by user Sunday, January 20, 2008 8:43:51 PM(UTC)  | Reason: Not specified

Alex Makhov  
#2 Posted : Monday, January 21, 2008 1:05:13 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello,
Image Uploader for Java fails to make big thumbnails sometimes even in v5.0.x. We usually advice using of FallbackMode or UploadThumbnail1CompressionMode properties.

Edited by user Monday, February 25, 2008 5:36:29 PM(UTC)  | Reason: Not specified

Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
cnapan  
#3 Posted : Monday, January 21, 2008 7:09:33 PM(UTC)
cnapan

Rank: Member

Groups: Member
Joined: 1/3/2008(UTC)
Posts: 10

Alex Makhov wrote:
Hello,
Image Uploader for Java fails to make big thumbnails sometimes even in v5.0.x. We usually advice using of FallbackMode or UploadThumbnail1CompressionMode properties.


Hi Alex,

Thanks for the suggestion.

This won't really work for us. People often have digital cameras with 5 or 10 megapixels, and we really don't want them to upload the original files. Far better instead to get the client browser to send a file which you've preformatted to a suitable size and file format (and our reason for going with Aurigma in the first place!)

Andy

Edited by user Monday, February 25, 2008 5:36:47 PM(UTC)  | Reason: Not specified

Alex Makhov  
#4 Posted : Tuesday, January 22, 2008 12:19:41 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello Andy,

If the size of thumbnail is not very big (i.e. 5000x5000) then Image Uploader creates such thumbnails without any problems.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
cnapan  
#5 Posted : Monday, January 28, 2008 1:40:13 AM(UTC)
cnapan

Rank: Member

Groups: Member
Joined: 1/3/2008(UTC)
Posts: 10

Hi Alex,

The problem isn't to do with the size of the thumbnail. I know that the code can deal with large thumbnails.

The bug reported in this thread seems to be the same problem:

http://forums.aurigma.co...generation-problems.aspx

Could you give it a go with the precise param settings I'm using? Just to make clear, I'm not wanting the original file at all, but am generating 3 sizes of thumbnail, the largest of which my application treats as the full sized image.

Alex Makhov  
#6 Posted : Monday, January 28, 2008 12:22:25 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello,

We have reproduced the rotate problem along with one thumbnail generation problem. We have fixed it and the new version (5.0.30.0) with the fix will be available at the nearest time (I believe, tomorrow).
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
cnapan  
#7 Posted : Monday, January 28, 2008 4:34:33 PM(UTC)
cnapan

Rank: Member

Groups: Member
Joined: 1/3/2008(UTC)
Posts: 10

Alex Makhov wrote:
Hello,

We have reproduced the rotate problem along with one thumbnail generation problem. We have fixed it and the new version (5.0.30.0) with the fix will be available at the nearest time (I believe, tomorrow).


That's excellent news - thanks!
Alex Makhov  
#8 Posted : Friday, February 1, 2008 3:22:40 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello,

The new version of Image Uploader (5.0.30.0) with rotate problem fixed is already available to be downloaded from our site.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
cnapan  
#9 Posted : Friday, February 1, 2008 6:51:20 PM(UTC)
cnapan

Rank: Member

Groups: Member
Joined: 1/3/2008(UTC)
Posts: 10

Hi Alex,

Could I just check something? I can only seem to see 5.0.30.0 dated 12/30/2007 for download. That's the version I already have, I believe.

Should I redownload that to get the fix? Or is there another link you could give me?

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.