|
|
Rank: Member Groups: Member
Joined: 6/30/2006 Posts: 17 Points: 27
|
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: Member
Joined: 8/3/2003 Posts: 996 Points: 1
|
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.
Sincerely yours, Alex Makhov
|
|
Rank: Member Groups: Member
Joined: 6/30/2006 Posts: 17 Points: 27
|
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: Member
Joined: 8/3/2003 Posts: 996 Points: 1
|
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.
Sincerely yours, Alex Makhov
|
|
Rank: Member Groups: Member
Joined: 6/30/2006 Posts: 17 Points: 27
|
that's a good idea !
tnx again !
|
|
Rank: Member Groups: Member
Joined: 6/30/2006 Posts: 17 Points: 27
|
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: Member
Joined: 8/3/2003 Posts: 996 Points: 1
|
Yes, we have updated the iuembed.js script to avoid this behavior. The new updated version of iuembed.js file will be available soon.
Sincerely yours, Alex Makhov
|
|
Rank: Member Groups: Member
Joined: 6/30/2006 Posts: 17 Points: 27
|
what about ActiveX only version ?
|
|
 Rank: Advanced Member Groups: Administration
, Member
Joined: 7/28/2003 Posts: 1,254 Points: -345 Location: WA, US
|
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
|
|
|
Guest |