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

WordPress Trac noreply at wordpress.org
Tue Apr 1 17:04:02 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):

 With some design help from a friend of mine, I have taken another stab at
 cleaning up the design a bit in [attachment:27366-05.patch].

 * Stick all advanced options under a single “Show advanced options” toggle
 that mirrors the behavior and look-and-feel of the wplink modal
 * Switch to using <select> for the “Size” and “Link To.”
 * Bring back the CSS Class for the image, but don’t incorporate the
 internally managed WordPress classes ({{{size-}}}, {{{wp-image-}}}, etc…)
 * On larger screen sizes, float labels to the left. When the width drops
 below 900px, stack the label above the fields.
 * Keep image at top on screen sizes where the two columns are stacked into
 a single column.

 The open questions are:

 1. Do we want to bring back border and margin controls for the image?
 There has been a fair amount of pushback on wordpress.com about the
 removal of this functionality, so I am leaning towards “yes.”
 2. Should we just remove the “Image Title Attribute” field? After thinking
 about it a bit more, I am leaning towards “yes.”
 3. How can we come up with an intuitive way for power users to soft-resize
 the image to a specific size?

 I also am working on some behind the scenes changes to make sure that we
 don’t stomp on any attributes that the user may have set via the Text
 editor when editing an image.

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


More information about the wp-trac mailing list