I use this code to make thumbnails:
$new_w=150;
$new_h=150;
$src_img = imagecreatefromjpeg ("path to file");
$dst_img = ImageCreate($new_w,$new_h);
ImageCopyResized($dst_img,$src_img,0,0,0,0,$new_w,$new_h,ImageSX($src_img),ImageSY($src_img));
$copy = imagejpeg ($dst_img,"path to resized file",100);
imagedestroy($src_img);
Hope you can make it work!
If not - you can just email me 🙂