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



Go to last post Go to first unread
#1 Posted : Friday, November 10, 2006 3:22:09 AM(UTC)

Rank: Member

Groups: Member
Joined: 10/12/2006(UTC)
Posts: 4


I have two pictures, one is 800x600 and the other is 600x800.

My printing system suport pictures in format 800x600 or 600x800. I make the following configuration in the ImageUpload:

//Disallow to upload too small images. 
iu.addParam("MinImageWidth", "800");
iu.addParam("MinImageHeight", "600");

The picture whit the size 800x600 work perfectly, but when I try to pass the other picture I receive an error.

I need to configure the Image Upload to acept these to picture, but I don´t support picture with size of 600x600.

I cant swicht this parameter deppending of the size of the picture?

Do you have any way to do this.

Thanks in advance and best Regards

Edited by user Tuesday, February 19, 2008 4:15:35 PM(UTC)  | Reason: Not specified

Alex Makhov  
#2 Posted : Monday, November 13, 2006 1:22:36 PM(UTC)
Alex Makhov

Rank: Advanced Member

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


The common way is to refuse such images on the server side, or you could remove any wrong images in BeforeUpload event handler via UploadFileRemove method.

Edited by user Tuesday, February 19, 2008 4:16:58 PM(UTC)  | Reason: Not specified

Sincerely yours,

Alex Makhov

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Similar Topics
MaxImageHeight & MinImageWidth Bug ActiveX Dual Loader (Discussions – ActiveX/Java Uploader)
by Ali Watters 11/20/2007 12:48:18 AM(UTC)
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.