• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

setting up a webcam portal?

forcer

OSNN Senior Addict
#1
how would i set up a webcam to be viewed online like on the speedyb website and his webcam portal do i need a program or is it just coding?
 

SPeedY_B

I may actually be insane.
#5
Once you've uploaded the picture with whatever app you're using, then put this into notepad, and save it as "webcam.html" or something similar.
Code:
<html>
 <head>
  <title>webcam</title>
 </head>
<body>
<div>
<img alt="Loading Image..." title="WebCam" src="cam.jpg" />
</div>
</body>
</html>
change cam.jpg to whatever filename you used. Then upload it to the same folder as the webcam image.
 

SPeedY_B

I may actually be insane.
#7
It updates as often as you upload the picture, if you want the page to update you can add this
Code:
<meta http-equiv="refresh" content="SECONDS HERE" />

example

<meta http-equiv="refresh" content="30" />
in between the <head> tags.
 

Alan

its only fun
#8
Hi Speedy_B,

I have followed your instructions regarding a webcam portal...and all seems to go ok......but for some reason its saving the pic to a temp folder and the only way I can browse to it is by

ftp://<username>:<password>@ftp.argyleparktaxis.co.uk/webcam/webcam.jpg

If I use http://www.argyleparktaxis.co.uk/webcam/webcam.jpg

I get a 404......

I have set the CHMOD to 777

When I ftp to the webcam folder its empty....

Hard to explain heres a couple of pics
 

SPeedY_B

I may actually be insane.
#10
I'm guessing that things need to be in the 'www' folder to be accessed by the public. Try changing the upload path in whatever app you are using...
 

Alan

its only fun
#11
Oh so simple when you know......

I have been 2hrs trying to figure out why it wouldn't load into the folder......


Thx Speedy_B

Alan
 

Members online

No members online now.

Latest posts

Latest profile posts

Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,962
Messages
673,247
Members
89,017
Latest member
Seggar