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?
|
|
|
|
Rank: Advanced Member
Groups: 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, UploadThumbnail1HeightQuote: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 |
|
|
|
|
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.
|
|
|
|
Rank: Advanced Member
Groups: 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 |
|
|
|
|
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?
|
|
|
|
Rank: Advanced Member
Groups: 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. |
|
|
|
|
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.