From 326ac00ee68fc5cc9be2ef24348afe1b071c3b49 Mon Sep 17 00:00:00 2001 From: saxmatt 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: http://svn.automattic.com/wordpress/trunk@2125 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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