[wp-trac] [WordPress Trac] #16657: Introduce a new "smart" crop mode
WordPress Trac
wp-trac at lists.automattic.com
Fri Feb 25 09:21:36 UTC 2011
#16657: Introduce a new "smart" crop mode
----------------------------+----------------------------------------
Reporter: mudslidedesign | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version:
Severity: normal | Keywords: dev-feedback needs-testing
----------------------------+----------------------------------------
There are scenarios when neither the soft-crop nor hard-crop modes are
suitable when resizing and cropping images.
We'd like to see a third crop mode introduced which selectively crops an
image only if the aspect ratio of the full-size image is close to the
aspect ratio of the desired image dimensions.
This is particularly useful when resizing images for display in a slide-
show where you want to avoid seeing thin gaps either side of the image
caused by a slight difference in the aspect ratios. This can be avoided
with cropping, but in this scenario you typically want to avoid excessive
cropping from occurring.
A patch file and a document explaining the feature in greater depth
(showing examples) will follow shortly.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16657>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list