I usually make thumbs proportional to the original with the help of GetImageSize. I was wondering how to make a thumbnail made out of only a cropped section instead of the whole thing. This is what I usually use:
$destination = "/general_location/";
$twidth = 50;
$size = GetImageSize($destination);
//makes thumb proportional
$a = $twidth/$size['0'];
$b = $size['1'] * $a;
$dest_x = $twidth;
$dest_y = $b;
//creates thumb
$target_id = imagecreatetruecolor($dest_x, $dest_y);
$target_pic = imagecopyresampled($target_id,$source_id_original, 0, 0, 0, 0, $dest_x, $dest_y, $size[0],$size[1]);