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



Go to last post Go to first unread
#1 Posted : Sunday, June 27, 2004 3:38:00 PM(UTC)

Rank: Member

Groups: Member
Joined: 6/27/2004(UTC)
Posts: 11

We are planning to use ImageUploader. We would like to know if there is a way to check the property (especially height and width) of the image before continuing the upload.
E.g., we would like to restrict such that only image larger than 128*96 is allowed to be uploaded. If somebody tries to submit an image before this limit, we would like to inform the user (e.g., javascript alert()) and won't continue the upload.
Is there anything we can make use of to implement this? E.g., any javascript event i can make use of, and how to access the width and height?

Looking for your reply. Thanks! ;)
#2 Posted : Sunday, June 27, 2004 4:35:00 PM(UTC)

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 876

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)

Current version does not allow this, but it will be possible in further releases of Image Uploader.

02/14/2008, Fedor
This topic is out of date.

First of all you can specify restrictions for image dimensions.

On other side you can iterate all files using UploadFileWidth and UploadFileHeight properties before upload and alert user if it s necessary.

Edited by user Tuesday, October 28, 2008 7:24:33 AM(UTC)  | Reason: Not specified

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.