Reload Webcam Images by Port Number
Posted on 2008-06-23
Hi everyone, first time-long time, so be gentle. :)
When users log into our warehouse website, they can view specific webcams as designated by their account permissions. Each webcam FTPs one image every second to a predetermined image directory and has a different image name based on its port (ex. "80021.jpg", "80022.jpg", etc.)
document.images['camImage'].src =**CAMERA-SPECIFIC IMAGE NAME HERE??** + '.jpg?' + Date.parse(new Date().toString());
(Image call in the html body:)
<img name="camImage" src="<? echo $aCams[$iCount]['iPortNumber']?>.jpg" />
Admittedly this kinda thing is new to me, so if I need to bark up another tree, let me know.