class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
What you do is valid, but you are losing quality by processing each image twice.
The class should be able to resize and crop at the same time (the cropping would happen after the resizing, as it is the way the class works). But there seem to be an issue here...
I will have an in depth look at it tonight.
You sent me an email for a license? I haven't received anything; would you please be kind enough as to resend it?Reply
Yes, that was the problem I had ... My 2 step "temporary" solution works, but I really looking forward to see your 1 step solution ... Hopefully 2morrow :)))
On http://www.verot.net/php_class_upload_license.htm I clicked the PayPal link and sent you 15 EUR for a commercial license ...
Thank you for the donation. I however haven't received any email, and therefore don't have your email address. Could you please email me, so I can send you back the license document?Reply
The class should be able to resize and crop at the same time (the cropping would happen after the resizing, as it is the way the class works). But there seem to be an issue here...
I will have an in depth look at it tonight.
You sent me an email for a license? I haven't received anything; would you please be kind enough as to resend it?
but I really looking forward to see your 1 step solution ... Hopefully 2morrow :)))
On http://www.verot.net/php_class_upload_license.htm I clicked the PayPal link
and sent you 15 EUR for a commercial license ...
Donation Details
Confirmation number: 1PY957874V587602Y
Donation amount: €15.00 EUR
Total: €15.00 EUR
Purpose: class.upload commercial license
Contributor: Stefan Fahlberg
Check your mail, it's probably there !
/Stefan