在本地主機上上傳圖片我不斷收到以下錯誤:
Post-processing of the image failed likely because the server is busy or does not have enough resources. stopping any upload, even the file is relatively small, few kb, 1290x720, or max 1980x1020 or similar.
尝試了通過添加来修改app / theme / theme_name / app / setup.php的方法
add_filter( ‘wp_image_editors’, function() { return array( ‘WP_Image_Editor_GD’ ); } );
没有成功。 仍然有同樣的問题。
使用以下方法建立了一个插件
:add_filter( 'big_image_size_threshold', '__return_false' );
但仍然没有任何內容(每个尺寸的媒體設置上限為9999)
我缺少任何基本配置吗?
最好,最好! :笑脸:編輯:PS:也無法使用"官方"插件…">://wpackagist.org/search?q = BIG + Image&type = any&search =
最新回復
- 7月前1 #
相似問題
- wordpress:仅將媒體上傳到資料庫wordpressimageswordpressdatabasewordpressuploadswordpressmysqlwordpressmedia2021-01-02 06:25
- wordpress:載入和引用圖像wordpressimageswordpressuploads2020-07-05 19:23
- wordpress:禁用所有大小調整和壓縮wordpressimageswordpressuploadswordpresscompression2020-06-20 23:53
- wordpress:無法將圖像上傳到wordpress-錯誤500响應wordpressimageswordpressuploadswordpresserrorswordpressserverwordpress500internalerror2020-02-14 00:57
- wordpress:更改圖像檔案夹位置wordpressimageswordpressuploadswordpressmedialibrary2020-02-12 19:55
此問题与標準的過於嚴格的php.ini配置有關。
要解決此問题,必须將php.ini檔案設置更新為更高的
值。