[wp-trac] [WordPress Trac] #48542: Uploading a large image through the block editor fails

WordPress Trac noreply at wordpress.org
Sun Nov 10 20:26:47 UTC 2019


#48542: Uploading a large image through the block editor fails
-------------------------------------+---------------------
 Reporter:  azaozz                   |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  highest omg bbq          |   Milestone:  5.3
Component:  Editor                   |     Version:  trunk
 Severity:  blocker                  |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------

Comment (by azaozz):

 I know this is somewhat hard to test/trigger the retry requests. Here's an
 image that may do it:
 https://upload.wikimedia.org/wikipedia/commons/f/ff/Pizigani_1367_Chart_10MB.jpg

 To test: download that image, then drop it in a new "image" block in the
 block editor (make sure the Gutenberg plugin is not installed or is
 disabled), and watch the network tab in the browser tools.

 As this is a "high density" 10MB JPEG image it fails to get post-processed
 on the initial request on my test server, even with the default sub-sizes
 and PHP settings. Alternatively few more large sub-sizes may need to be
 added or the `max_execution_time=30` setting in php.ini may need to be
 reduced for this test.

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


More information about the wp-trac mailing list