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

Notification

Icon
Error

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

Rank: Member

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

Hello,
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! ;)
Andrew  
#2 Posted : Sunday, June 27, 2004 4:35:00 PM(UTC)
Andrew

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)
Hello,

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
Guest
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.