Menu

HELP!!! with DCAM

DCAM Help
2008-01-31
2013-04-16
  • Nobody/Anonymous

    if its so basic, why can't i figure this out? I put in the code you have above...
    specifically: 

    <SCRIPT language="JavaScript" type="text/javascript"> 
    setInterval('document.getElementById(\'webcam\').src=\'images/###FILENAME###.jpg?l=\'+(new Date).getTime()',###REFRESHNUMBERORG###*1000); 
    </SCRIPT>

    But i should be putting in something in place of where you have ####FILENAME##### and also replacing the #####REFRESHNUMBERORG#### with something, but what? Also, when i open the DCAM to the FTP thing, i am supposed to put in the address of the web page I want it to show up on? What about the local path, don't know what to input there.

    signed..Phil

     
    • zombie

      zombie - 2008-02-06

      Here is the most simple code for a webpage with DCAM (you will not need JSP or JAVA, just simple plain HTML-code):

      <html>
      <head>
      <title>Webcam</title>
      <meta http-equiv=refresh content='30; URL=index.html'>
      </head>

      <body bgcolor="#000000" text="#FFFFFF">

      <table border="0" width="100%">
        <tr>
          <td width="33%"></td>
          <td width="33%"><img border="0" src="images/DCAMImage.jpg" ></td>
          <td width="34%"></td>
        </tr>
      </table>
      </body>
      </html>

      1. Copy the code to your notepad and save it as index.html

      2. The "meta http-equiv=refresh content='30" contains 30 wich means your page will
         refresh every 30 seconds. You shopuld addapt it to a vule you like (note: this
         is the timer for the website not the time DCAM takes a new image)

      3. The images are assumed to be saved in wwwroot/images (This can be adjusted in
         Options/Global/local save/

       

Log in to post a comment.