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 : Thursday, November 30, 2006 11:08:00 PM(UTC)
far41

Rank: Advanced Member

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

Hello,

Here is the way I sent thumbnails:

Code:
    iu.addParam("UploadThumbnail1FitMode", "Fit");
    iu.addParam("UploadThumbnail1Width", "1280");
    iu.addParam("UploadThumbnail1Height", "960");
    iu.addParam("UploadThumbnail1JpegQuality", "60");
    iu.addParam("UploadThumbnail1CopyExif", "true");

I works great when the images are over 1280x960 (images are resized and compressed before upload).

The problem is with smaller images, let say 1024x768 for example : they are sent at their original size, which is good, but they are not compressed before upload.

What am I doing wrong to make sure they will be compressed before upload?

Thanks for your help.

Edited by user Monday, February 25, 2008 2:24:12 PM(UTC)  | Reason: Not specified

George Ulyanov  
#2 Posted : Friday, December 1, 2006 6:49:26 PM(UTC)
George Ulyanov

Rank: Advanced Member

Groups: Member
Joined: 7/26/2006(UTC)
Posts: 203

Hello,

You should use these properties to achive what you want:

UploadThumbnail1CompressOversizedOnly
UploadThumbnail2CompressOversizedOnly
UploadThumbnail3CompressOversizedOnly

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

Best regards,
George Ulyanov
far41  
#3 Posted : Tuesday, November 27, 2007 1:36:09 AM(UTC)
far41

Rank: Advanced Member

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

Hi George,

I am back to an old topic.

I have just discovered an issue I had almost a year ago, and for a reason I don't know it looks like I never solved it and I am really surprised.

When you read my first post you see that I had a problem to upload compressed files smaller than a specific size.

Based on your answer I had added : iu.addParam("UploadThumbnail1CompressOversizedOnly", "true");

I am sure I had made tests on that time, so it must have worked this way. But it looks like it's not the case, which is not so surprising when you see the name of the property. But since "false" seems to be the the default setting, why did I have the problem and why did you recommend me to look at this property ?

I have removed this line (so back to the "false" setting), and so far so good. I have tested and tested and it seems to be fine.

But could you please help me understand what happened ? I was not supposed to have this problem based on my settings from my first post and actually I am back to that configuration.

Could you please confirm me that :

Code:
    iu.addParam("UploadThumbnail1FitMode", "Fit");
    iu.addParam("UploadThumbnail1Width", "1280");
    iu.addParam("UploadThumbnail1Height", "960");
    iu.addParam("UploadThumbnail1JpegQuality", "60");
    iu.addParam("UploadThumbnail1CopyExif", "true");
    //iu.addParam("UploadThumbnail1CompressOversizedOnly", "true");


is correct to send thumbnails in all cases, and that smaller than 1280x960 files will be also compressed and will keep their original width and height ?

Thank you for your help





Edited by user Monday, February 25, 2008 2:23:52 PM(UTC)  | Reason: Not specified

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.