I have a simple presenter when my PC is not compatible with a data projector. I make a print-screen of my local PC and upload it to my web page via FTP. It is working automatically, no problem (Linux).
But I would like to change following file to reload only when the program sees that the picture "web_presentation.png" has been changed (uploaded anew). The problem is that this page is constantly blinking while reloading every 10 s - it is annoying.
<html>
<head>
<title>web_presentation</title>
<meta content="text/html; charset=utf-8" http-equiv="content-type">
<meta Name="Keywords" Content="redirect">
<meta Name="description" Content="redirect">
<meta http-equiv="Refresh" content="10; URL=web_presentation.htm">
</head>
<BODY>
<img src=web_presentation.png width=100%>
</body>
</html>
This page is displayed on a second PC, which is connected to the data projector (usually windows).
I spend a few hours to figure out how to get modification time (lastmodified) of web_presentation.png and reload it according to this information.
If possible, please stick to pure javascript or php (Firefox). It seems to be much more difficult as I thought it would be.
Thanks :-)