image.php: Remove leading line from images; Set correct Content-type header.

Signed-off-by: Martin Stone <martin@d7415.co.uk>