升级数据库执行一下语句
update `pre_forum_attachment_2` set width=400;
update `pre_forum_attachment_1` set width=400;
update `pre_forum_attachment_3` set width=400;
update `pre_forum_attachment_4` set width=400;
update `pre_forum_attachment_9` set width=400;
update `pre_forum_attachment_5` set width=400;
update `pre_forum_attachment_6` set width=400;
update `pre_forum_attachment_7` set width=400;
update `pre_forum_attachment_8` set width=400;
update `pre_forum_attachment_0` set width=400;
这时如果顺利的话原先不显示的图片应该已经可以显示了(文件路径要放正确)
确认自己论坛的附件文件都是图片的前提下也可以继续执行以下升级语句
update `pre_forum_attachment_2` set isimage=1;
update `pre_forum_attachment_1` set isimage=1;
update `pre_forum_attachment_3` set isimage=1;
update `pre_forum_attachment_4` set isimage=1;
update `pre_forum_attachment_9` set isimage=1;
update `pre_forum_attachment_5` set isimage=1;
update `pre_forum_attachment_6` set isimage=1;
update `pre_forum_attachment_7` set isimage=1;
update `pre_forum_attachment_8` set isimage=1;
update `pre_forum_attachment_0` set isimage=1;