Webcam Bilder an unseren Standorten

Onload function ()

header(‚Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0‘); header(‚Pragma: no-cache‘);

header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0'); header('Pragma: no-cache'); const refreshImage = (imgElement, imgURL) => () => imgElement.src = imgURL + "?" + new Date().getTime(); const cameraFeed = document.querySelector(".cameraFeed"); setInterval(refreshImage(cameraFeed, "https://arig-mn.org/cams/cam1-tek_TIMING.jpg"), 3000);

https://stackoverflow.com/questions/39732396/reload-img-element-from-same-source

Pi Viewer function update() { var source = "https://arig-mn.org/cams/cam1-tek_TIMING.jpg", timestamp = (new Date()).getTime(), newUrl = source + '?_=' + timestamp; document.getElementById("img").src = newUrl; document.getElementById("img1").src = newUrl; setTimeout(update, 10000); }

Loading