Make WordPress Core

Changeset 2125


Ignore:
Timestamp:
01/24/2005 06:05:44 AM (21 years ago)
Author:
saxmatt
Message:

Higher quality thumbnails - http://mosquito.wordpress.org/view.php?id=736

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r2105 r2125  
    244244           
    245245            $thumbnail = imagecreatetruecolor($image_new_width, $image_new_height);
    246             @imagecopyresized($thumbnail, $image, 0, 0, 0, 0, $image_new_width, $image_new_height, $image_attr[0], $image_attr[1]);
     246            @imagecopyresampled($thumbnail, $image, 0, 0, 0, 0, $image_new_width, $image_new_height, $image_attr[0], $image_attr[1]);
    247247           
    248248            // move the thumbnail to it's final destination
Note: See TracChangeset for help on using the changeset viewer.