[wp-trac] [WordPress Trac] #27366: Clean up layout of "Image details" section in the media modal

WordPress Trac noreply at wordpress.org
Thu Apr 3 21:33:24 UTC 2014


#27366: Clean up layout of "Image details" section in the media modal
----------------------------+--------------------
 Reporter:  eablokker       |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.9
Component:  Media           |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  ui
----------------------------+--------------------

Comment (by gcorne):

 [attachmet:27366-12.patch 27366-12.patch] makes the calculation of the
 aspect ratio more robust by using the ratio of the full size version of
 the image when possible effectively resetting the aspect ratio of images
 that have been manually skewed by manipulating the height and width
 attributes by hand if the user changes the value of one of the dimensions
 in the modal. The latest patch also grabs the values of the height and
 width attributes instead of using the calculated width and height when
 those values are positive integers.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27366#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list