I am creating thumbnails of fixed height and width from my PHP script using the following function
/*creates thumbnail of required dimensions*/ function crea
tried using the php.Thumbnailer ?
$thumb=new Thumbnailer("photo.jpg"); $thumb->thumbSquare(48)->save("thumb.jpg");
Result photo will be 48x48px. Easy right? :)