[wp-trac] [WordPress Trac] #19393: Image crop position
WordPress Trac
noreply at wordpress.org
Mon Mar 3 20:47:37 UTC 2014
#19393: Image crop position
-------------------------------------+---------------------------
Reporter: bradt | Owner: markoheijnen
Type: enhancement | Status: assigned
Priority: normal | Milestone: 3.9
Component: Media | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+---------------------------
Comment (by DH-Shredder):
I like this idea, although I'd prefer to see the cropping logic live in
`WP_Image_Editor`. Perhaps within `->resize()`, with the same array
syntax as the above, so that it's simple to perform a crop with certain
orientations without adding an image size.
If the above patch is used, we can still decide to refactor it into
`WP_Image_Editor` later, if we want to go with an incremental approach.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19393#comment:77>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list