[wp-trac] [WordPress Trac] #14110: Expose height and width attributes to 'wp_get_attachment_image_attributes' filter

WordPress Trac noreply at wordpress.org
Thu May 22 06:34:20 UTC 2014


#14110: Expose height and width attributes to 'wp_get_attachment_image_attributes'
filter
-------------------------------+-----------------------------
 Reporter:  divinenephron      |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Future Release
Component:  Media              |     Version:  3.0
 Severity:  minor              |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+-----------------------------
Changes (by ericlewis):

 * keywords:  has-patch 2nd-opinion => reporter-feedback


Comment:

 a. Why were we setting the image width/height attributes to begin with?

 b. Why would you need to override this for responsive design? `max-width:
 100%` (or something like it) doesn't suffice?

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


More information about the wp-trac mailing list