[wp-trac] [WordPress Trac] #18297: Cropping in step 2 in Custom_Image_Header

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 29 17:35:28 UTC 2011


#18297: Cropping in step 2 in Custom_Image_Header
--------------------------+-----------------------------
 Reporter:  wpsmith       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 The cropping should not be based on the ratio but should follow some basic
 logic.

 if ( ( yimg < HEADER_IMAGE_HEIGHT ) && ( ximg < HEADER_IMAGE_WIDTH ) ) //
 no crop
 else //do follow current functionality

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


More information about the wp-trac mailing list