Sloppy Webcam
Posted: Sat May 18, 2013 2:59 pm
I have a simple webcam set up over my home network. It uses a Python script to take an image every few seconds and save it to the relevant folder which all works fine. My problem is with the HTML to update the image....
This forces the browser to update the entire page every 3 seconds which is a bit rubbish to say the least.
What would be a more elegant solution? (I'm fine with coding but new to php, java, etc.)
Any help would be great.
Dave.
Code: Select all
<html>
<head>
<title>
Webcam
</title>
<meta http-equiv='refresh' content='3'; url='index.html'>
</head>
<body>
<div align='center'>
<img src="image.jpg">
</div>
</body>
</html>What would be a more elegant solution? (I'm fine with coding but new to php, java, etc.)
Any help would be great.
Dave.