[Javascript] Resizing images client-side

Troy III Ajnej trojani2000 at hotmail.com
Thu Jul 12 20:11:57 CDT 2007


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.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                        Troy III                            progressive art enterprise~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



> Date: Thu, 12 Jul 2007 08:00:18 -0400> To: javascript at LaTech.edu> From: tedd at sperling.com> Subject: Re: [Javascript] Resizing images client-side> > At 5:42 PM -0400 7/11/07, Terry Riegel wrote:> >Ok I see, to save bandwidth then. Because if you resize at the > >server you can dump the original file. The only thing lost is the > >user spent a little more time getting it to you.> >> >Terry> >> > Terry:> > Yes that, but it's a bit more. One, not only does the user tie up > their bandwidth, which sometimes the user blames on the site, but the > server receives a hit in two ways. One, if has to spend the time and > memory to receive the large file, and two, it then has a larger file > to reduce.> > If the user would trim their files to begin with, then there wouldn't > be a problem. However, educating users is another subject.> > Cheers,> > tedd> > -- > -------> http://sperling.com http://ancientstones.com http://earthstones.com> _______________________________________________> Javascript mailing list> Javascript at LaTech.edu> https://lists.LaTech.edu/mailman/listinfo/javascript
_________________________________________________________________
Don't get caught with egg on your face. Play Chicktionary!  
http://club.live.com/chicktionary.aspx?icid=chick_wlmailtextlink
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20070713/1e24926a/attachment.htm>


More information about the Javascript mailing list