Weather Web Cam Images History PHP Script and Template Plugin
Version: 1.02 04-Nov-2009
Improved thumbnail image links. Better JavaScript link method.
Version: 1.01 19-Sep-2008
– Fixed default settings inside cam-history-inc.php, the default $script_name setting was wrong
– minor comment cleanup in all files
– no feature changes in this release.
Live Demo:
You can see my weather cam archives in use here:
Requirement:
You HAVE to be using my ‘PHP Web Cam Image Text Overlay’ method from my tutorial here:
If you have completed the tutorial you will have a web cam image that updates every 5 minutes on your web server.
Installation instructions are in the included readme.txt in the zip file download below.
If you use the “Carterlake Weather Display/PHP/AJAX Website USA Template Set” from Saratoga-Weather.org - Website Templates - Weather-Display/AJAX/PHP
then you can use the included wxcam-history.php
else there are easy instructions to integrate into your own site template page.
Got it thanks … did not catch that. Ok so all working except … it is still making images AFTER the camera has been shut off (notice time in top right corner. Had to set that so I could check that new images are being uploaded). A little confused, do I set this $disable_refresh_at_night = 1 to 1 or 0 to turn off the making of images at night?
$disable_refresh_at_night = 1, all that does is disable the meta refresh on the web cam history page at night to save bandwidth if someone leaves that page open for hours at night.
Did you put this in your image-webcam-overlay.php?
replace:
Oops :oops: mis-read that. Thought it did not pertain since I was using the wxcam file … thanks again
EDIT: Well made your changes but it is still not working … and I found out why. It seems my testtags.php does NOT have statement $dayornight
EDIT EDIT: That did it. Added the $dayornight setting to testtags.txt and now it is turned off. Whew … this stuff ain’t easy Wonder how many more settings I am missing?
Sorry you had trouble, I added a note about that to the readme.txt
here is the note …
Note: your testtags.php file must contain the $dayornight tag
if it does not, edit the template in your wdisplay/webfiles folder and add this line to it:
$dayornight = ‘%dayornight%’;
Version: 1.01 19-Sep-2008
– Fixed default settings inside cam-history-inc.php, the default $script_name setting was wrong
– minor comment cleanup in all files
– no feature changes in this release.
I’m in the process of setting up the “Weather Web Cam Images History PHP Script and Template Plug in”, before I do I have to setup the “Multifunction Image Handler PHP Script”. I think I have it setup properly but when I try and test it I get a “Error: 009”.