Raoul,
как-то так
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
function start(){
window.setTimeout(reloadImg,1000)
}
function reloadImg()
{
$.getJSON("getImageName.php")
.success(function(data) {
img = document.getElementById('camEkb');
img.src='http://online.ts6.ru/img/'+data.path; })
.error(function() { start() })
}
</script>
</head>
<body>
<img src="/img/live-20140116-190251.jpg" id="camEkb" onload="start()" >
</body>
</html>