I'm stuck on this one.
The website (Javascript and PHP) I'm making is essentially based around an image that people are editing (via the server). So the image changes every now and then.
I want the browser to reload the image if it's been changed since it was first loaded. How would I do this? Is there a way?
Basically instead of reloading the page every few seconds, I want it to perform some kind of check to see if there is a new version of the image, if so load it, if not do nothing.
The website (Javascript and PHP) I'm making is essentially based around an image that people are editing (via the server). So the image changes every now and then.
I want the browser to reload the image if it's been changed since it was first loaded. How would I do this? Is there a way?
Basically instead of reloading the page every few seconds, I want it to perform some kind of check to see if there is a new version of the image, if so load it, if not do nothing.