HighDots Forums  

how can you refer to an image on another machine?

alt.discuss.html alt.discuss.html


Discuss how can you refer to an image on another machine? in the alt.discuss.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
db
 
Posts: n/a

Default how can you refer to an image on another machine? - 02-05-2004 , 10:11 AM






My webserver (a Siteplayer) is sitting behind my Linksys router, with a port
forwarded to it on the router. The problem is this: how can I have the HTML
code in a siteplayer page, webcam.html, reference an image file video.jpg
which is located on another machine on my home network? ie, HTML code on the
siteplayer page webcam.html:

<img src="//Constor2/shared/video.jpg">
or
<img src="//192.168.1.100/shared/video.jpg">


will both display video.jpg fine as long as webcam.html is called from a
machine inside the router on the home net. But if I try to get to that same
Siteplayer page webcam.html from outside the router with a port forward,
like http://24.56.78.922:2222/webcam.html, the page comes up but there's no
image, just the box with the red x. How can I make the image display from
outside the router?

Is this impossible, or is there a clever way to code it so it'll see the
file on the other home-net machine? perhaps OBJECT embedding? Any advice
most appreciated!!

Thanx DB




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.