[wp-trac] [WordPress Trac] #18254: Preserve image aspect ratio when editing dimensions manually in post editor
WordPress Trac
wp-trac at lists.automattic.com
Sun Oct 9 14:09:17 UTC 2011
#18254: Preserve image aspect ratio when editing dimensions manually in post editor
------------------------------------+------------------------------
Reporter: voyagerfan5761 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 3.2.1
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+------------------------------
Changes (by asdasDan):
* keywords: => has-patch dev-feedback
Comment:
Added a patch, realized it may be odd because of not having the images
added, but it essentially just puts a link/broken link next to the
resizing feature of an image, when it's set to link it adds a css class of
constrained, any height/width values entered will adjust the other to
match the original images aspect ratio. When unlinked, the css class is
removed, and either value can be modified freely as usual.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18254#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list