Вот это делает:
if (file_exists($imagepath)) {
$imgsz = getimagesize($imagepath);
print "<script>some javascript code</script>";
else {
print "Still preparing...";
}
А бразуер через ajax этот скрипт
подтягивает каждые 1.5 секунды у каждого
юзера.
Posted at Nginx Forum: http://forum.nginx.org/read.php?21,224990,225131#msg-225131