[Javascript] Resizing images client-side

Murphy, Matt Matt.Murphy at thermofisher.com
Fri Jul 13 15:39:25 CDT 2007



PHP can do this as well, but this is data in the request, on the server
side, ie, after the data has gone over the wire. 

By that time, it's too late, either the file was too big, or it took too
long and the user got sick of waiting. 

Learn Java, write a desktop app. 

-----Original Message-----
From: javascript-bounces at LaTech.edu
[mailto:javascript-bounces at LaTech.edu] On Behalf Of Glenn E. Lanier, II
Sent: Friday, July 13, 2007 3:33 PM
To: '[JavaScript List]'
Subject: RE: [Javascript] Resizing images client-side


I think you can look in the POST/GET headers to see the size of the data
envelope in most languages. I know C++ based ISAPI allows you to access
this information before receiving the entire POSTed info (GET has size
limits, so does not apply here). I would assume ASP.NET provides access
to similar; don't know about PHP but it may "protect" the developer from
seeing all the particulars.

--G



More information about the Javascript mailing list