[wp-trac] [WordPress Trac] #23779: Can't insert large image if it's smaller than media setting but larger than theme setting

WordPress Trac noreply at wordpress.org
Mon Oct 7 16:24:56 UTC 2013


#23779: Can't insert large image if it's smaller than media setting but larger than
theme setting
---------------------------+------------------
 Reporter:  aaroncampbell  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  3.7
Component:  Media          |     Version:  3.0
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------

Comment (by jlambe):

 If I understand, we should check if the original image width is between
 {{{$content_width}}} and a default 'thumbnail' - 'medium' and 'large'
 sizes and other custom sizes ?

 So every defined sizes that have a higher value should default to the
 {{{$content_width}}} size as Nacin said.

 So do we have to display the default 'thumbnail-medium-size' + those the
 user wants to display in the dropdown even if they have the same sizes ?
 or maybe set an "all-in-one" size name for all cases ?

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


More information about the wp-trac mailing list