stunthanger.com

General control line discussion => Open Forum => Topic started by: Bob Reeves on February 25, 2012, 10:27:01 AM

Title: Anybody out there that knows javascript or PHP want to help with a club webcam?
Post by: Bob Reeves on February 25, 2012, 10:27:01 AM
This would be a freebee but wondering if anyone on here that understands web scripts would mind helping me make our clubs webcam page a little more sophisticated. Here is a link to what we presently have.. Basically I have a computer setting here that simply grabs an image from the camera and uploads it to the site via FTP every 15 seconds or so..

http://www.tulsacl.com/webcam.html

What I would eventually like to do is add another camera, I can handle the computer app that does the upload but don't know enough about web scripts to be able to build the web page I would like to have. Couple things I would like to do...

1. Have it know when the images are not being uploaded and load a default image that tells everyone that the upload computer is down for some reason.
2. Show the 2nd camera in a small image off to the side and have it so that when a user clicks on the small image the two images switch places. Camera1's image becomes the small image and camera2's image is displayed in the large image.

Am pretty sure this is possible and would guess not that difficult for someone that works in JavaScript or PHP.

Anyone want to do something good for the Tulsa club?

Thanks
Bob
Title: Re: Anybody out there that knows javascript or PHP want to help with a club webcam?
Post by: Tim Wescott on February 25, 2012, 10:30:18 AM
I don't know how to do that in Javascript or PHP at the server end, but at the camera end you could just upload a pair of web pages.  Each one would have the "big picture" from each camera, and the "little picture" from the other camera, and when you upload the pages you could put in a time stamp (this picture last updated on ...).  It'd be clunky, but a lot better than nothing at all!!
Title: Re: Anybody out there that knows javascript or PHP want to help with a club webcam?
Post by: Howard Rush on February 25, 2012, 06:21:45 PM
I can't help, but it's nice to have a Web site where I can see blue sky.
Title: Re: Anybody out there that knows javascript or PHP want to help with a club webcam?
Post by: Bob Reeves on February 26, 2012, 08:16:36 AM
I can't help, but it's nice to have a Web site where I can see blue sky.

Ya, I've been watching the weather in the North East because I thought I might need to make a trip to the Enchanted Forest theme park in Salem this spring. As it turns out it looks like they will be able to get the system up and operating without me, not over yet but they are making good headway. I sold them a refurbished Thrill Ride Photo System for the Flume last fall and they have been working most of the winter getting it installed.

Sure hoping I don't need to go, it's still cold and icky up there all the way through March and it wouldn't be fun working in 40 deg and rain.
Title: Re: Anybody out there that knows javascript or PHP want to help with a club webcam?
Post by: Steve Helmick on February 26, 2012, 02:28:41 PM
It can be nice here anytime of year. It can also be wet and yukky any time of year. It's currently snowing hard. Edit: And FWIW, I think Tim's idea would work fine.  :o Steve
Title: Re: Anybody out there that knows javascript or PHP want to help with a club webcam?
Post by: Bob Reeves on February 28, 2012, 05:18:50 AM
Received a note from Stan Tyler and he is helping me with the server side scripts. I am updating the app I wrote that sends the images up via FTP so it can handle up to 6 cameras, will be able to grab images from either IP cameras or cameras connected to video capture cards. Should be really cool when we get it up and running.