<?php
header("Content-type: image/jpeg");
$im = imagecreatefromjpeg("myimage.jpeg");
imagejpeg($im);
imagedestroy($im);

?>
