I\'m using a neat little php script to resize my images to fit in a 300x300 pixel square, while keeping the aspect ratio. I got the script from here.
Here is the whole s
If it's giving you problems, you can back door it. Instead of letting the class calculate the ratios, go straight to the resize function.
$image = new SimpleImage();
$image->load($_FILES['uploaded_image']['tmp_name']);
$image->resize(300, 300);
$image->save('./images/photo'.$id.'.jpg');
header("Location: people.php");
exit;