[wp-trac] [WordPress Trac] #22693: Inserted images in some cases get the wrong size

WordPress Trac noreply at wordpress.org
Tue Dec 4 03:51:09 UTC 2012


#22693: Inserted images in some cases get the wrong size
------------------------------+--------------------
 Reporter:  jond3r            |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.5
Component:  Media             |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+--------------------
Changes (by nacin):

 * keywords:  has-patch needs-testing => has-patch commit


Comment:

 I did this:

  * Inserted a "Medium" image.
  * Insert an image that is too small for Medium, but large enough to have
 a thumbnail. (I used an image that was 138px width x 197px height.)

 Without the patch:
  * "Thumbnail" is selected, size-medium is the class, and the full-size
 image was inserted.

 With [attachment:22693.2.diff]:
  * "Full" is selected, size-full is the class, and the full-size image was
 inserted.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22693#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list