How to display the image on the website

webcam.htm
<html>
<head>
<meta http-equiv="refresh" content="10">
</head>
<body style="font-family: Arial,sans-serif;
 font-size: smaller;
 font-weight: bold;
 color: gray;
 background-color: silver;
 text-align: center;">
<img src="webcamimage.jpg">
<br>
<!--#config timefmt="%m-%d-%Y %H:%M:%S" -->
<!--#echo var="DATE_LOCAL" -->
</body>
</html>

webcam2.html - Another solution
<html>
<body>
<div style="text-align:center;">
 <img src="webcamimage.jpg"><br>
 <iframe name="frame1" src="lastmod.shtml" frameborder="0">
 </iframe>
</div>
<script type="text/javascript">
setTimeout("start()",1000);
function start()
{
 date = frame1.document.getElementById("lastmod").innerText;
 setInterval("refresh()",3000);
}
function refresh()
{
 frame1.location.reload();
 if(date != frame1.document.getElementById("lastmod").innerText)
  location.reload();
}
</script>
</body>
</html>
lastmod.shtml
<html>
<body>
<div id="lastmod" style="font-family:Arial,sans-serif; text-align:center;">
 <!--#config timefmt="%m-%d-%Y %H:%M:%S" -->
 <!--#flastmod virtual="webcamimage.jpg" -->
</div>
</body>
</html>

© 2006 Zone1