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

Notification

Icon
Error

Options
Go to last post Go to first unread
ilaya  
#1 Posted : Friday, June 30, 2006 11:17:52 AM(UTC)
ilaya

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
Alex Makhov  
#2 Posted : Friday, June 30, 2006 2:30:32 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
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

Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
ilaya  
#3 Posted : Friday, June 30, 2006 6:23:20 PM(UTC)
ilaya

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
Alex Makhov  
#4 Posted : Friday, June 30, 2006 6:28:44 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
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.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
ilaya  
#5 Posted : Friday, June 30, 2006 7:16:26 PM(UTC)
ilaya

Rank: Member

Groups: Member
Joined: 6/30/2006(UTC)
Posts: 17

that's a good idea !

tnx again !
ilaya  
#6 Posted : Friday, June 30, 2006 7:58:48 PM(UTC)
ilaya

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 !
Alex Makhov  
#7 Posted : Friday, June 30, 2006 8:39:34 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Quote:
can we avoid it ?

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

Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
ilaya  
#8 Posted : Friday, June 30, 2006 9:10:39 PM(UTC)
ilaya

Rank: Member

Groups: Member
Joined: 6/30/2006(UTC)
Posts: 17

what about ActiveX only version ?
Fedor  
#9 Posted : Sunday, July 2, 2006 2:38:14 AM(UTC)
Fedor

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
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.