[wp-trac] [WordPress Trac] #36531: Default image size medium_large is not generated

WordPress Trac noreply at wordpress.org
Thu May 19 23:44:49 UTC 2016


#36531: Default image size medium_large is not generated
-----------------------------------+-----------------------------
 Reporter:  Indent                 |       Owner:  joemcgill
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  4.5.3
Component:  Media                  |     Version:  4.4
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch fixed-major  |     Focuses:  administration
-----------------------------------+-----------------------------

Comment (by drrobotnik):

 I've encountered this issue in a slightly different scenario. The
 36531.diff fixes it, but I figured I'd share in case it's useful.

 {{{#!php
 <?php
 add_image_size('large-xl', 1600,1600, false);
 }}}

 I'm generating additional image sizes. The images are getting created on
 upload, but their meta is not being added to the attachment meta, only the
 default sizes. Perhaps it's related because i'm not cropping the image?

 [[Image(http://caava-clients.s3-us-
 west-1.amazonaws.com/Screen%20Shot%202016-05-19%20at%204.35.03%20PM.png)]]

 You can see all image sizes are being generated.

 [[Image(http://caava-clients.s3-us-
 west-1.amazonaws.com/Screen%20Shot%202016-05-19%20at%204.34.47%20PM.png)]]

 But the sizes meta data is not.

 Again, applying the patch fixes the issue.

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


More information about the wp-trac mailing list