<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On Feb 1, 2007, at 9:59 PM, Paul Novitski wrote:</DIV><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">At 2/1/2007 06:01 PM, Terry Riegel wrote:</DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Ahhh discovering the possible is much easier than the impossible :)</DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Yes, it's impossible to prove something's impossible...<SPAN class="Apple-converted-space">  </SPAN>Although then it must follow that it's impossible to prove that it's impossible to prove that something's impossible, eh what?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">This is not what is happening though. The image is something like...</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://192.168.1.26/image.cgi">http://192.168.1.26/image.cgi</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">So it is being loaded off of the local network (not the internet)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">On the other hand, if the image constitutes the value of a DOM</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">element, perhaps all you need to do is htmlencode the binary string</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">and feed it to an HttpXMLRequest routine.</DIV> </BLOCKQUOTE></BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">...</DIV> <BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">And it is successfully loading into the web browser (i.e. I see it).</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I don't know if that means it is a DOM element. If it is how do I</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">encode it and send it? Even rough untested code would be helpful.</DIV> </BLOCKQUOTE><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hmm.<SPAN class="Apple-converted-space">  </SPAN>Using PHP I can feed a binary string to a browser to make an image appear in the client but I don't know how to do the opposite, read the binary string value of an image already displayed.<SPAN class="Apple-converted-space">  </SPAN>The bit of research I just did (Google, Firefox web developer toolbar, Gecko DOM Reference) was fruitless.<SPAN class="Apple-converted-space">  </SPAN>I wonder if you need a COM/Active-X module client-side to do this?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Again, what's the mechanism that's feeding the image to the browser?<SPAN class="Apple-converted-space">  </SPAN>Are you setting the browser's address bar to the intranet address of the camera?<SPAN class="Apple-converted-space">  </SPAN>Can you intervene before the information reaches the browser?</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The Page would look like this</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>&lt;html&gt;</DIV><DIV> &lt;img src="<A href="http://192.168.1.122/axis-cgi/jpg/image.cgi?resolution=320x240">http://192.168.1.122/axis-cgi/jpg/image.cgi?resolution=320x240</A>"&gt;</DIV><DIV>&lt;/html&gt;</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>But since you persisted I wonder if I could use <FONT class="Apple-style-span" color="#272727" size="4"><SPAN class="Apple-style-span" style="font-size: 14.4px;"><I>xmlHttpRequest <FONT class="Apple-style-span" color="#000000" size="3"><SPAN class="Apple-style-span" style="font-size: 12px; font-style: normal;">to request the image, then just send it along to the server. Something like</SPAN></FONT></I></SPAN></FONT></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>xmlhttprequest to <A href="http://axis797e5b.axiscam.net/axis-cgi/jpg/image.cgi?resolution=320x240">http://axis797e5b.axiscam.net/axis-cgi/jpg/image.cgi?resolution=320x240</A> knowing it will delivery binary data back</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>then take the response and using xmlhttprequest again send it to my.example.com</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Would this work?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Terry</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Curiously,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Paul<SPAN class="Apple-converted-space"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Javascript mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:Javascript@LaTech.edu">Javascript@LaTech.edu</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="https://lists.LaTech.edu/mailman/listinfo/javascript">https://lists.LaTech.edu/mailman/listinfo/javascript</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> </BLOCKQUOTE></DIV><BR></BODY></HTML>