<html>
<head>
<title>Zoom</title>
</head>
<body>
<?php
  $foto=$_GET['foto'];
  print <<<AQUI
<a href="../$foto"><img src="800x$foto"></a>
AQUI;
?>
</body>
</html>