<?php if(isset($_GET['imagen'])){header ("Content-type: image/jpeg"); readfile("ruta/img01.jpg"); exit;}?><img src="?imagen">