[Javascript] Resizing images client-side
Nick Wiltshire
nick at customdesigns.ca
Wed Jul 11 10:26:11 CDT 2007
On Wednesday 11 July 2007 09:14, tedd wrote:
> Hi gang:
>
> I want to provide user with a way to upload images to my site -- I
> have no problem that.
>
> However, I want the images to be a certain size BEFORE the upload
> takes place. Is there a way to resize images via javascript
> client-side before uploading them?
The only thing you can do is set the file size limit, and be sure to block any
cross-site upload attempts.
You could also possibly use flash or a Java applet, but I'm still not sure
this can be done pre-upload.
More information about the Javascript
mailing list