[wp-trac] [WordPress Trac] #38872: Twenty Seventeen: Images in a Gallery within a post or page show different sizes in IE11

WordPress Trac noreply at wordpress.org
Mon Nov 21 23:59:30 UTC 2016


#38872: Twenty Seventeen: Images in a Gallery within a post or page show different
sizes in IE11
-----------------------------------------+-------------------------
 Reporter:  transl8or                    |       Owner:  derrickkoo
     Type:  defect (bug)                 |      Status:  assigned
 Priority:  normal                       |   Milestone:  4.7
Component:  Bundled Theme                |     Version:  trunk
 Severity:  normal                       |  Resolution:
 Keywords:  has-screenshots needs-patch  |     Focuses:  ui
-----------------------------------------+-------------------------

Comment (by derrickkoo):

 Please use
 [38872.2.diff](https://core.trac.wordpress.org/attachment/ticket/38872/38872.2.diff)
 instead. This patch fixes the problem by applying the explicit width to
 the `img`'s parent instead of the `img` itself, which allows for images to
 display at their natural width if they're smaller than 100%.

 You can test this by setting the gallery to a single column with size set
 to "Medium." The images should display at their natural size, narrower
 than the single column.

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


More information about the wp-trac mailing list