[wp-trac] [WordPress Trac] #36534: Media Upload Issue Since 4.5 Upgrade

WordPress Trac noreply at wordpress.org
Sat Jun 25 20:28:10 UTC 2016


#36534: Media Upload Issue Since 4.5 Upgrade
---------------------------------------+------------------------
 Reporter:  unicornbacon               |       Owner:  joemcgill
     Type:  defect (bug)               |      Status:  reopened
 Priority:  normal                     |   Milestone:  4.6
Component:  Media                      |     Version:  4.5
 Severity:  major                      |  Resolution:
 Keywords:  needs-testing needs-patch  |     Focuses:
---------------------------------------+------------------------

Comment (by mboynes):

 Jumping in to report that I believe I'm also experiencing this issue on
 Pantheon. Since 4.5, I can no longer upload images larger than 3601x3601.
 I installed the debug media plugin, and here's what it reports:

 {{{
 Media Debugging Info

 Active Editor   WP_Image_Editor_Imagick
 Imagick Module Number   1672
 ImageMagick Version     ImageMagick 6.8.8-10 Q16 x86_64 2015-03-10
 http://www.imagemagick.org
 GD Version      bundled (2.1.0 compatible)
 Memory Limit    256M
 Max Execution Time      120
 Max Input Time  900
 Upload Max Filesize     100M
 Post Max Size   100MImagick Resource Limits
 Imagick area limit      59 GB
 Imagick disk limit      -1
 Imagick file limit      768
 Imagick map limit       59 GB
 Imagick memory limit    29 GB
 Imagick thread limit    Not Available
 }}}

 @joemcgill, I tried changing `FILTER_TRIANGLE` to `FILTER_BOX` and that
 didn't resolve the issue. if you'd like, I can set you up with a vanilla
 WP install on Pantheon so you can more easily debug the issue. Ping me in
 slack (@mboynes) if that would be helpful.

 Side note: 36534.2.diff misses an instance:

 {{{
 $filter = defined( 'Imagick::FILTER_BOX' ) ? Imagick::FILTER_TRIANGLE :
 false;
 }}}

 should be

 {{{
 $filter = defined( 'Imagick::FILTER_BOX' ) ? Imagick::FILTER_BOX : false;
 }}}

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


More information about the wp-trac mailing list