[Javascript] Resizing images client-side

Troy III Ajnej trojani2000 at hotmail.com
Sat Jul 14 08:54:36 CDT 2007


Hello Hasan,
Are you sure about this?
 
what security model and why "wisely", -what's so wise about that?
So what if the page is loaded from the remote server? Is is still re-
siding on your browser chache. It is being executed from your brw
chache, and if you load a picture file you will be loading it from your
chache to the browser chache. So what is your point?
 
It has nothing to do with securety. At least it shouldn't. (But since 
there are some pretty dummb people working for W3C, I can't be sure)
 
Your files can not harm your machine.
 
Are you sugesting that one can not include images from differrent do-
mains, nor local addreses in the same page?
 
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                        Troy III                            progressive art enterprise~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



> Date: Fri, 13 Jul 2007 17:38:15 -0700> From: hassan at webtuitive.com> To: javascript at LaTech.edu> Subject: Re: [Javascript] Resizing images client-side> > Troy III Ajnej wrote:> > > As I remember (?)Tedd asked about how to disable or prevent the> > client from uploading large pictures, suppose, not bigger than 500k.> > > > All it takes is just a little bit of imagination or creativity. > > Ah, it sounded so good until, er, step #1... :-)> > > 1. get the picture file to load on the page.> > If you mean load the image into the current page -- sorry, can't do> that. The browser security model (wisely) blocks that from happening> when the page in question has been loaded from a remote server.> > At least, as far as I can tell. But working code trumps all, so if> you've got some, I'd love to see it...> > -- > Hassan Schroeder ----------------------------- hassan at webtuitive.com> Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com> > dream. code.> > _______________________________________________> Javascript mailing list> Javascript at LaTech.edu> https://lists.LaTech.edu/mailman/listinfo/javascript
_________________________________________________________________
Local listings, incredible imagery, and driving directions - all in one place! Find it!
http://maps.live.com/?wip=69&FORM=MGAC01
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20070714/4351bd21/attachment.htm>


More information about the Javascript mailing list