I'm not sure you can do this without Javascript, but could you do this with ajax? I mean, I’ll point to the server, and then just check if it exists ... then if it displays, try again after 30 seconds, it could be something like:
function getImage(img) {
$.ajax({
cache: true,
url: <<ADDRESS>>,
data: "",
timeout: 60,
error: function (jqXHR, error, errorThrown) {
setTimeout(function() {
getImage(img);
}, 30000);
},
success: function (data) {
}
});
}
Well, then you hope that the image goes down at some point.
The only other option would be to generate an image before its request? For example, if he simply creates a thumbnail for a photo gallery, why wait until she is asked to generate? Just generate it as soon as you have it?
Hope this helps / makes sense.
source
share