上传图片的时候,有时候会遇到这样的问题:

The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task. Uploading a smaller image may help. Suggested maximum size is 2560 pixels.

可以试试下面的插件,这个插件只有一行代码。

插件代码:

add_filter( ‘big_image_size_threshold’, ‘__return_false’ );

关键字:图片上传失败