[buddypress-trac] [BuddyPress] #1294: Group Avatar Crop Tool failure

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Jan 17 01:54:08 UTC 2010


#1294: Group Avatar Crop Tool failure
------------------------------------------------+---------------------------
Reporter:  gazouteast                           |       Owner:  jason_jm
    Type:  defect                               |      Status:  assigned
Priority:  minor                                |   Milestone:  1.2     
Keywords:  Group creation, Group edit, avatars  |  
------------------------------------------------+---------------------------

Comment(by nuprn1):

 ... and now i see why the returning gif/png is black.

 wp_crop_image returns a jpg

 $dst_file = preg_replace( '/\\.[^\\.]+$/', '.jpg', $dst_file );
 if ( imagejpeg( $dst, $dst_file, apply_filters( 'jpeg_quality', 90,
 'wp_crop_image' ) ) )
 return $dst_file;

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1294#comment:7>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list