Give this a whirl: (tested)
<?php
$path = '/Volumes/yoda/websites/zepel.website.2013/images/blog/display';
$file = '10.jpg';
$degrees = 90;
header('Content-type: image/jpeg');
$filename = $path . "/" .$file;
$source = imagecreatefromjpeg($filename) or notfound();
$rotate = imagerotate($source,$degrees,0);
imagejpeg($rotate);
imagedestroy($source);
imagedestroy($rotate);
?>