[Javascript] Resizing images client-side

tedd tedd at sperling.com
Fri Jul 13 05:29:23 CDT 2007


At 1:11 AM +0000 7/13/07, Troy III Ajnej wrote:
>Why don't you simply get the filesize of the image the client is about
>to upload (via client script) and hit him with the message: "this file is
>to large\n  the file must  be smaller than...," etc.
>

Hi Troy

You care to provide an example of this simple operation?

My understanding is that I can't get the file size until I get the 
file -- is that wrong?

Cheers,

tedd
-- 
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com



More information about the Javascript mailing list