Rank: Member
Groups: Member
Joined: 6/30/2006(UTC) Posts: 17
|
Hello,
When creating thumbnails, I would like to define certain width (in px) for Horazintal images and another width for Vertical images. how do I do that ? How do i preserve the aspect ratio ?
Tnx
|
|
|
|
Rank: Advanced Member
Groups: Joined: 8/3/2003(UTC) Posts: 998
|
Hello, Image thumbnail ratio is always preserved. To fit thumbnail to the appropriate width and height set the UploadThumbnailNNFitMode (NN is thumbnail index) to "Fit" and UploadThumbnailNNWidth and UploadThumbnailNNHeight to your width and height. Here is the link to read about it: Rotating, Resizing, and Optimizing Images. Edited by user Tuesday, October 28, 2008 5:56:35 AM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Member
Groups: Member
Joined: 6/30/2006(UTC) Posts: 17
|
tnx Alex,
but i have a problem. i don't wont the same width and height for vertical and horizontal images. for the first i want 135*180 and for the second i want 160*120. what can i do ?
Ilay
|
|
|
|
Rank: Advanced Member
Groups: Joined: 8/3/2003(UTC) Posts: 998
|
Hello,
So if you want the images to be resized by width or by height you could send two thumbnails for each file: the first thumbnail with FitMode=Width and the second thumbnail with FitMode=Height and then on the server part take the appropriate thumbnail (the first or the second one) according to its aspect ratio. |
|
|
|
|
Rank: Member
Groups: Member
Joined: 6/30/2006(UTC) Posts: 17
|
that's a good idea !
tnx again !
|
|
|
|
Rank: Member
Groups: Member
Joined: 6/30/2006(UTC) Posts: 17
|
another question:
Since Microsoft took a legal action, In order to activate the Image Uploader frame, you need to click on it. It's an extra click and it's annoying....
can we avoid it ?
tnx !
|
|
|
|
Rank: Advanced Member
Groups: Joined: 8/3/2003(UTC) Posts: 998
|
Yes, we have updated the iuembed.js script to avoid this behavior. The new updated version of iuembed.js file will be available soon. Edited by user Monday, October 27, 2008 11:10:46 PM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Member
Groups: Member
Joined: 6/30/2006(UTC) Posts: 17
|
what about ActiveX only version ?
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
You should use iuembed.js to avoid object activation requirement. It is not bug of Image Uploader, it is just feature of Internet Explorer which requires to use external scripts for control embedding. |
Best regards, Fedor Skvortsov
|
|
|
|
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.