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

Notification

Icon
Error

Options
Go to last post Go to first unread
mreick  
#1 Posted : Monday, August 31, 2009 7:13:06 AM(UTC)
mreick

Rank: Newbie

Groups: Member
Joined: 8/31/2009(UTC)
Posts: 3

Hi,

I've got a web application that requires images at either 640x480 or 1024x768. I know this will require some cropping in most cases, but our users can deal with that.

The problem is that when I specify 640x480 for thumbnail 1 and 1024x768 for thumbnail 2, I sometimes get images where one dimension is smaller than what I need.

Is there any way to set the height & width of the uploaded thumbnails to be the minimum dimensions? I don't care if one dimension is larger than the stated value, I will crop on the server, or put in place a way for the user to crop the image.

As it stands right now, I'm going to just have to upload the full image and do all resizing on the server side, which defeats some of the purpose of having purchased this software.

Thanks!

Michael

Tamila  
#2 Posted : Tuesday, September 1, 2009 6:18:18 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hello Michael,

Unfortunately, Image Uploader cannot generate thumbnail larger than source file.

However, if it is necessary you can do it at server site.

By the way, you can set the max file width and height to 1024 x 768. In this case your customers can upload suitable files only.

Code:
iu.addParam("MaxImageWidth", "1024");
iu.addParam("MaxImageHeight", "768");

If you have any questions feel free to let us know.

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Guest
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.