[wp-trac] [WordPress Trac] #18532: resized image dimensions incorrectly floored instead of rounded

WordPress Trac noreply at wordpress.org
Thu Dec 22 13:46:08 UTC 2016


#18532: resized image dimensions incorrectly floored instead of rounded
--------------------------+-----------------------------
 Reporter:  _ck_          |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.1
Component:  Media         |     Version:  2.5
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------

Comment (by maniu):

 I just wanted to note that this fix breaks linking to some old images (old
 enough to use previous method of calculating size) when importing. It
 replaces the link but dimensions are different by one pixel and post
 content ends up with broken image.

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


More information about the wp-trac mailing list