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
This commit is contained in:
parent
a42aac1345
commit
63cbe74852
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user