そりゃそうだ

<?php
header('Content-Type: image/jpg');
print "<img src=\"sample.jpg\">";

これがimage/jpgなわけない
sample.jpg自身を出力すればいいよ