[wp-trac] [WordPress Trac] #6005: image_resize() function

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 26 13:08:48 GMT 2008

#6005: image_resize() function
 Reporter:  tellyworth   |       Owner:  anonymous
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  2.5      
Component:  General      |     Version:           
 Severity:  normal       |    Keywords:  has-patch
 This adds a new image_resize() function, plus ancillary functions in wp-

 image_resize() resembles wp_create_thumbnail() and wp_crop_image().  It's
 more general than wp_create_thumbnail(), and supports a cropping mode for
 square thumbnails.

 The new function isn't called anywhere yet but it's unit tested.  More
 patches to come will hook it up to thumbnail generation and other stuff.

 Unit tests are in http://svn.automattic.com/wordpress-tests/wp-
 testcase/test_image.php, particularly TestImageResizeDimensions and

Ticket URL: <http://trac.wordpress.org/ticket/6005>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list