Image Wordpress网络不显示图像;图像已损坏
使用Wordpress 3.x网络。升级到最新版本后,所有图像都停止显示Image Wordpress网络不显示图像;图像已损坏,image,wordpress,wpmu,Image,Wordpress,Wpmu,使用Wordpress 3.x网络。升级到最新版本后,所有图像都停止显示 进一步检查时,图像数据正在传输,但图像文件本身已损坏。将Wordpress wp includes/ms-files.php脚本发送的图像与服务器上的源文件进行比较,图像数据中似乎添加了额外的空格。在读取文件解决问题之前,向wp includes/ms-files.php添加以下代码行: +ob_clean(); +flush(); // If we made it this far, just serve the fi
进一步检查时,图像数据正在传输,但图像文件本身已损坏。将Wordpress wp includes/ms-files.php脚本发送的图像与服务器上的源文件进行比较,图像数据中似乎添加了额外的空格。在读取文件解决问题之前,向wp includes/ms-files.php添加以下代码行:
+ob_clean();
+flush();
// If we made it this far, just serve the file
readfile( $file );
补充阅读: