[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
Fri Mar 15 09: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:  Awaiting Review
Component:  Media          |     Version:  3.5
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+------------------------------

Comment (by SergeyBiryukov):

 If the uploaded image is smaller than Large size in media settings, the
 large size is not generated. Since `wp_prepare_attachment_for_js()` only
 fills in the sizes that actually exist for the image, the Large option is
 in unavailable in the dropdown.

 Or am I missing something?

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


More information about the wp-trac mailing list