From 63cbe7485210c92d34bc7d7199d7c3c3d32cd5c8 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Mon, 24 Jan 2005 06:05:44 +0000 Subject: [PATCH] Higher quality thumbnails - http://mosquito.wordpress.org/view.php?id=736 git-svn-id: https://develop.svn.wordpress.org/trunk@2125 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/admin-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index b27b3d3133..4cdaff5a11 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -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