News:


  • June 17, 2024, 04:20:57 AM

Login with username, password and session length

Author Topic: Anybody out there that knows javascript or PHP want to help with a club webcam?  (Read 842 times)

Offline Bob Reeves

  • 2016 supporter
  • Trade Count: (0)
  • Admiral
  • *
  • Posts: 3415
    • Somethin'Xtra Inc.
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

Offline Tim Wescott

  • 2016 supporter
  • Trade Count: (0)
  • Admiral
  • *
  • Posts: 12833
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!!
AMA 64232

The problem with electric is that once you get the smoke generator and sound system installed, the plane is too heavy.

Offline Howard Rush

  • 22 supporter
  • Trade Count: (0)
  • Admiral
  • *
  • Posts: 7820
I can't help, but it's nice to have a Web site where I can see blue sky.
The Jive Combat Team
Making combat and stunt great again

Offline Bob Reeves

  • 2016 supporter
  • Trade Count: (0)
  • Admiral
  • *
  • Posts: 3415
    • Somethin'Xtra Inc.
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.

Offline Steve Helmick

  • AMA Member and supporter
  • Trade Count: (0)
  • Admiral
  • *
  • Posts: 9956
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
"The United States has become a place where professional athletes and entertainers are mistaken for people of importance." - Robert Heinlein

In 1944 18-20 year old's stormed beaches, and parachuted behind enemy lines to almost certain death.  In 2015 18-20 year old's need safe zones so people don't hurt their feelings.

Offline Bob Reeves

  • 2016 supporter
  • Trade Count: (0)
  • Admiral
  • *
  • Posts: 3415
    • Somethin'Xtra Inc.
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.


Advertise Here
Tags:
 


Advertise Here