[wp-cvs] wordpress/wp-admin admin-functions.php,1.75,1.76

Matthew Mullenweg saxmatt at users.sourceforge.net
Mon Jan 24 06:05:48 GMT 2005


Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13324/wp-admin

Modified Files:
	admin-functions.php 
Log Message:
Higher quality thumbnails - http://mosquito.wordpress.org/view.php?id=736

Index: admin-functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/admin-functions.php,v
retrieving revision 1.75
retrieving revision 1.76
diff -C2 -d -r1.75 -r1.76
*** admin-functions.php	19 Jan 2005 15:23:37 -0000	1.75
--- admin-functions.php	24 Jan 2005 06:05:44 -0000	1.76
***************
*** 244,248 ****
              
              $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]);
              
              // move the thumbnail to it's final destination
--- 244,248 ----
              
              $thumbnail = imagecreatetruecolor($image_new_width, $image_new_height);
!             @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



More information about the cvs mailing list