Projects - Programming - Wiki - Web Camera

View a web camera on a page. You COULD just link directly to the remote web camera image without this plugin, but this plugin will copy the image from the camera to the server so that visitors don’t hit the web camera directly. The image is cached on the server for the specified number of seconds so that if multiple people are viewing the web camera, it won’t have to hit the actual camera multiple times.

Download the plugin here: Web Camera Plugin

Installation instructions:

  1. Unzip the plugin and put it in your plugins folder of your wiki or use the link above to install it via the admin section of your wiki.
  2. To use the plugin, on any page just enter the code:
    {{webcamera>url=URLOFCAMERA|local=/LOCALFILENAMETOSAVETO|cachelength=NUMBEROFSECONDSBEFOREREQUESTINGNEWIMAGE}}
  3. Not the / in front of the local filename. This is indicating that it’s saving to the root directory. You could save it elsewhere if you wanted.

It’s that easy!

In action:

How it works:

The plugin will look to see if the local web camera image exists and if the time of the image is longer than the cachelength. If it is, then it will download a new image. If not, it will display the current image.

 
Copyright 2007, Bob Baddeley