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

Notification

Icon
Error

Options
Go to last post Go to first unread
janetsmith  
#1 Posted : Thursday, November 02, 2006 12:01:24 PM(UTC)
janetsmith

Rank: Member

Groups: Member
Joined: 2/1/2006(UTC)
Posts: 40

Hi,

How to resize image before uploading? I wish to resize it, depend on the image size.

Let's say if the image dimension is 2000 x 1000, then i want to make it 1024 x 768 before uploading.

That's to say, it will resize based on if the image is bigger than certain dimension.

BTW, when is the release date for IU 4.1?
Alex Makhov  
#2 Posted : Thursday, November 02, 2006 12:20:07 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello,

Quote:
How to resize image before uploading? I wish to resize it, depend on the image size.


UploadThumbnail1FitMode, UploadThumbnail1Width, UploadThumbnail1Height

Quote:
Let's say if the image dimension is 2000 x 1000, then i want to make it 1024 x 768 before uploading.


Image Uploader keeps image aspect ratio while resizing so it is unable to resize an image 2000 x 1000 to 1024 x 768.

Quote:
BTW, when is the release date for IU 4.1?


There is no exact date yet.

Edited by user Tuesday, February 19, 2008 4:19:13 PM(UTC)  | Reason: Not specified

Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
janetsmith  
#3 Posted : Monday, November 06, 2006 3:33:34 PM(UTC)
janetsmith

Rank: Member

Groups: Member
Joined: 2/1/2006(UTC)
Posts: 40

Sorry that my previous post didn't state the question clearly.

1. If I am using this: UploadThumbnail1FitMode, UploadThumbnail1Width, UploadThumbnail1Height
That means I am going to upload 2 files instead of one.

I Only want to upload the resized one.

2. Can I resize the picture to a specific criteria?
Let's say I have 3 picture; 1024x768, 800x600, 640x480.

If I set "The longest side should be 800", Then the 1024x768 will be resized to 800x600, the 800x600 and 640x480 will be unchanged.
Alex Makhov  
#4 Posted : Wednesday, November 08, 2006 4:35:35 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Here is the piece of code:

Code:
iu.addParam("UploadSourceFile", "false");

Edited by user Monday, February 25, 2008 6:00:00 PM(UTC)  | Reason: Not specified

Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
janetsmith  
#5 Posted : Thursday, November 09, 2006 8:42:58 PM(UTC)
janetsmith

Rank: Member

Groups: Member
Joined: 2/1/2006(UTC)
Posts: 40

Thanks for your reply.

How does IU determine which side is height, which side is width?

Alex Makhov  
#6 Posted : Thursday, November 09, 2006 9:21:15 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello,

The difference between left and right side of an image is its width and the difference between top and bottom side is its height.
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.