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:57:00 PM(UTC)

Rank: Member

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

We would like to check, if it is possible to access the image property prior to actually sending the image. In particular,
(1) User chooses an image, and click [Send] button.
(2) The html script (client-side) checks the property (especially width and height) of the image.
(3) If image has resolution less than 128x96, say, prompt an error and don't upload it. Otherwise, continue the upload.
Is there anyway for us to implement this?
Looking for your reply. Thank you!
#2 Posted : Sunday, June 27, 2004 4:40: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)
You can add your code into Progress event and abort the upload programmatically. However Image Uploader does not provide access to selected file/image properties. We are considering to add it in the upcoming Image Uploader 3.0 though.

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

You can get access to selected file properties using ImageUploader.UploadFileXXX properties.

Edited by user Thursday, February 14, 2008 12:44:36 PM(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.