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

Notification

Icon
Error

Options
Go to last post Go to first unread
Kwallenbeck  
#1 Posted : Wednesday, October 28, 2009 5:07:47 AM(UTC)
Kwallenbeck

Rank: Newbie

Groups: Member
Joined: 8/13/2008(UTC)
Posts: 1

It seems we have a common situation to which we cannot find an answer.

We have a web application that allows folks to upload photos. We don't want them to upload super huge files and want to restrict file dimension to 1024 but ONLY for files that already have a width higher than 1024.

Seems pretty simple but how?

We've been able to use the Fit but that seems to take the file down in the 800's probably because we are compressing a bit as well.

Anyone have a simple solution for this?

Thanks in advance,
Kevin
Tamila  
#2 Posted : Wednesday, October 28, 2009 5:00:24 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,

Probably the following properties help you:
MaxImageHeight
MaxImageWidth
MinImageHeight
MinImageWidth

You can restrict the size of uploaded pictures.

I hope it helps you.

See also:
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
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.