Ambient Webcam on your own host server. This script, when placed in the same folder as your Ambient Cam images will sort for the latest image, copy it to filename image.jpg, and then delete any webcam images in the directory with the default name the camera uses that starts Schedule_. I named the script sortname.php. If you don't want to delete the uploaded images end the code before the second 'if' condition. You also have to setup a cron job to run the script on a schedule. In my case I was able to add an http event on my Meteobridge to run the script on a schedule. Your most current image will always be in the same location named image.jpg. This script is a combination of one I found somewhere else on the forum and added to with the help of Jachym. If your camera starts with a different name substitute that in the code. If you want the image named something other than image.jpg, substitute that in the code. It's working fine for me after two days on both of my sites.
<?php
if ($images = glob("Schedule_*.jpg") ) {
rsort($images);
$img = $images[0];
$newfile = 'image.jpg';
copy($img, $newfile);
}
if ($images = glob("Schedule_*.jpg") ) {
foreach($images as $img){
unlink($img);
}
}
?>