Hi guys I've spoken with the module developer but he has said he doesn't know how to do this and I was hoping someone else on the list might be able to work out what to do.
I would like to display multiple webcams on mysite
http://www.aussienymeetup.net/modules/webcam/at the moment I have basically cloned the module multiple times to make each cam viewable but there are two other ways I would prefer to do this.
basically there are two ways to do this I could either randomise this urls in the webcam.php file
#$img = "http://mzsrv.zoo.org.au/webcams/butterflies.jpg"; /* Webcam image URL (e.g.
http://www.domain.com/cam.jpg) */
with the following below
# SmoothWebcam PHP v1.0
# © 2004 Xeofox. All Rights Reserved
#
http://www.xeofox.co.uk#$img = "http://mzsrv.zoo.org.au/webcams/butterflies.jpg"; /* Webcam image URL (e.g.
http://www.domain.com/cam.jpg) */
#$img = "http://insvr1.midcoastwater.com.au/mcwcam.jpg"; /* Webcam image URL (e.g.
http://www.domain.com/cam.jpg) */
#$img = "http://webcam.omniconnect.com.au/OmniCam/Images/t02/7733FEDC0A/4/w.jpg"; /* Webcam image URL (e.g.
http://www.domain.com/cam.jpg) */
#$img = "http://www.gorgecreekorchards.com.au/web.gif"; /* Webcam image URL (e.g.
http://www.domain.com/cam.jpg) */
#$img = "http://www.thesurfclub.com.au/Webcam/image.jpg"; /* Webcam image URL (e.g.
http://www.domain.com/cam.jpg) */
#$img = "http://www.abc.net.au/webcam/5ancam1.jpg"; /* Webcam image URL (e.g.
http://www.domain.com/cam.jpg) */
#$img = "http://www.transport.sa.gov.au/data/citycam/adelaideview.jpg"; /* Webcam image URL (e.g.
http://www.domain.com/cam.jpg) */
#$img = "http://www.rosebay.tased.edu.au/webcam/tiny.jpg"; /* Webcam image URL (e.g.
http://www.domain.com/cam.jpg) */
#$img = "http://www.rta.nsw.gov.au/trafficreports/cameras/camera_images/180.jpg"; /* Webcam image URL (e.g.
http://www.domain.com/cam.jpg) */
#
#
#
#
#
#
#
#$title = "Test Webcam"; /* Title that is used if page accidentally opened */
#$r = "20"; /* Image refresh rate (in seconds) */
$img = "http://www.thesurfclub.com.au/Webcam/image.jpg"; /* Webcam image URL (e.g.
http://www.domain.com/cam.jpg) */
$title = "Test Webcam"; /* Title that is used if page accidentally opened */
$r = "20"; /* Image refresh rate (in seconds) */
header('refresh: '.$r.'; url=webcam.php');
echo "\n\n
$title\n
\n\n\n\n
\n\n";
?>
or as an alternative what i could do is set up some type of drop down box with a single display which would then allow the visitor to choose which webcam they want to view.
basically the module developer has said we can do anything we like, as he's not sure how to do either option.
Any thoughts?
Cheers,
Dean