git-svn-id: https://develop.svn.wordpress.org/trunk@2125 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-01-24 06:05:44 +00:00
parent a42aac1345
commit 63cbe74852

View File

@ -243,7 +243,7 @@ function wp_create_thumbnail($file, $max_side, $effect = '') {
}
$thumbnail = imagecreatetruecolor($image_new_width, $image_new_height);
@imagecopyresized($thumbnail, $image, 0, 0, 0, 0, $image_new_width, $image_new_height, $image_attr[0], $image_attr[1]);
@imagecopyresampled($thumbnail, $image, 0, 0, 0, 0, $image_new_width, $image_new_height, $image_attr[0], $image_attr[1]);
// move the thumbnail to it's final destination