Page 7 of 8

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Thu 14 Jun 2018 9:11 pm
by Nevizio
it seems that it is not possible the autorefresh of the image of the web cam? I have not found any topic in the forum that talks about this :?:

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Thu 14 Jun 2018 9:22 pm
by Synewave
The realtime reader script was not designed to refresh a webcam image. It was purely designed to automatically refresh the webtags provided by the Cumulus software. You will need to research other methods to refresh a webcam image, and if you don’t find anything on this forum that someone has already done, you may need to research elsewhere.

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Thu 14 Jun 2018 9:27 pm
by dazza1223
you can try this

<IMG name="webcam" width="1300" height="695" alt="Please wait the image will appear soon"
src="webcam.jpg" align="center"></a>
<SCRIPT language="JavaScript" type="text/javascript">
interval = 2000;
imgsrc = "http://www.davisworthing.co.uk/images/webcam.jpg"
function Refresh() {
tmp = new Date();
tmp = "?" + tmp.getTime();
document.images["webcam"].src = imgsrc + tmp;
setTimeout("Refresh()", interval);
}
Refresh();
</SCRIPT></td>


it work on mine ok it dose the job

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Thu 14 Jun 2018 10:27 pm
by Nevizio
Thank a lot Dazza ;) You are very kind, :clap: ;)
Which script should you insert <head> </ head> or <body> </ body> etc?

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Thu 14 Jun 2018 10:30 pm
by dazza1223
here mine take what ever u want out off the code


http://www.davisworthing.co.uk/webcam.html

it not updateing at the mo as need new ip cam :D :lol:


and there is more info here

https://cumulus.hosiene.co.uk/viewtopic.php?f=19&t=2910

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Thu 14 Jun 2018 10:40 pm
by Nevizio
too complicated :D
what would the script then be?
I dont' understand :cry:

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Thu 14 Jun 2018 10:45 pm
by dazza1223
just put it be for the body

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Thu 14 Jun 2018 10:46 pm
by dazza1223
send me your webcam html

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Thu 14 Jun 2018 10:47 pm
by Nevizio

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Thu 14 Jun 2018 10:49 pm
by dazza1223
is it a ip cam?

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Thu 14 Jun 2018 10:51 pm
by Nevizio
dazza1223 wrote:is it a ip cam?
No, It's a simple surveillance camera ;)

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Thu 14 Jun 2018 10:52 pm
by dazza1223
what one is it ?

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Thu 14 Jun 2018 10:59 pm
by Nevizio
ok tomorrow light 'here on the forum your solution, thank you for the moment here in Italy is 1 night, and I'm a bit' sleep :D

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Thu 14 Jun 2018 11:00 pm
by dazza1223
and ur image0.jpg do thay keep the same number or dose it go like this image1.jpg image2.jpg etc

Re: Auto-refresh Website Index Page Without Using Meta Refresh

Posted: Thu 14 Jun 2018 11:02 pm
by dazza1223
ok mate night