Rank: Member
Groups: Member
Joined: 10/12/2006(UTC) Posts: 4
|
Hello, 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: Code://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 |
|
|
|
|
Rank: Advanced Member
Groups: Administration
Joined: 8/3/2003(UTC) Posts: 998
|
Hello, 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 |
|
|
|
|
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.