﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
19393,Image crop position,bradt,,"In WP, images are cropped to center horizontally and vertically. Setting a different crop position is very painful and a bit of hack using filters/hooks (see [https://gist.github.com/1405838]). The small attached patch enhances the `$crop` parameter of `add_image_size`, allowing an array to be passed in containing the crop position.  For example,

{{{
add_image_size( 'product-screenshot', 300, 300, array( 'left', 'top' ) );
}}}

The `$crop` parameter still accepts true/false values and the patch should be fully backward compatible. Syntax is borrowed from CSS' `background-position` property, so it should be familiar to designers/developers.",enhancement,new,normal,Future Release,Media,3.3,normal,,needs-patch,joachim.kudish@… kontakt@… deryk@… miklb@… jeremy@… anointed tammyhart dromsey@… brasofilo@… pauldewouters steph@… sabreuse@… philip@… Viper007Bond navjotjsingh@… pippin@… lol@… LisaSabinWilson erick@… richardmtl alexvornoffice@… leho@… caspar@…
