What this script does is take in an image and export a thumbnailed version.
Function Arguments:
$file : Desired image to create a thumbnail of
$destination : End location for the thumbnail
$zoom : Setting type, explained later (default: false)
$t_width : Thumbnail width (default: 150)
$t_height : Thumbnail height (default: 150)
This script is capable of making 2 types of thumbnails:
- Cropped to fit (Small Preview)
- Resized (Fit Width)
A sample of this script is here: http://turt2live.com/PHP_Classes/thumbnails/
If you would like the "Cropped to fit (Small Preview)" then set $zoom = true, otherwise, set it to false.