<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Hello Hasan,<BR>
<BR>Are you sure about this?<BR>
<BR>
what security model and why "wisely", -what's so wise about that?<BR>
So what if the page is loaded from the remote server? Is is still re-<BR>
siding on your browser chache. It is being executed from your brw<BR>
chache, and if you load a picture file you will be loading it from your<BR>
chache to the browser chache. So what is your point?<BR>
<BR>
It has nothing to do with securety. At least it shouldn't. (But since <BR>
there are some pretty dummb people working for W3C, I can't be sure)<BR>
<BR>
Your files can not harm your machine.<BR>
<BR>
Are you sugesting that one can not include images from differrent do-<BR>
mains, nor local addreses in the same page?<BR>
<BR>
<BR>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <BR> Troy III <BR> progressive art enterprise<BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR><BR><BR><BR><BR>
<HR id=stopSpelling>
<BR>
> Date: Fri, 13 Jul 2007 17:38:15 -0700<BR>> From: hassan@webtuitive.com<BR>> To: javascript@LaTech.edu<BR>> Subject: Re: [Javascript] Resizing images client-side<BR>> <BR>> Troy III Ajnej wrote:<BR>> <BR>> > As I remember (?)Tedd asked about how to disable or prevent the<BR>> > client from uploading large pictures, suppose, not bigger than 500k.<BR>> > <BR>> > All it takes is just a little bit of imagination or creativity. <BR>> <BR>> Ah, it sounded so good until, er, step #1... :-)<BR>> <BR>> > 1. get the picture file to load on the page.<BR>> <BR>> If you mean load the image into the current page -- sorry, can't do<BR>> that. The browser security model (wisely) blocks that from happening<BR>> when the page in question has been loaded from a remote server.<BR>> <BR>> At least, as far as I can tell. But working code trumps all, so if<BR>> you've got some, I'd love to see it...<BR>> <BR>> -- <BR>> Hassan Schroeder ----------------------------- hassan@webtuitive.com<BR>> Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com<BR>> <BR>> dream. code.<BR>> <BR>> _______________________________________________<BR>> Javascript mailing list<BR>> Javascript@LaTech.edu<BR>> https://lists.LaTech.edu/mailman/listinfo/javascript<BR><BR><br /><hr />Local listings, incredible imagery, and driving directions - all in one place! <a href='http://maps.live.com/?wip=69&FORM=MGAC01' target='_new'>Find it!</a></body>
</html>