Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

图片附件无法显示

[复制链接]
flowray 发表于 2011-6-7 15:33:58 | 显示全部楼层 |阅读模式
查看源码的发现图片对象设置了ThumbImg="1",现在function_attachment.php文件里定义了函数.
function attachwidth($width) {
        global $_G;
        if($_G['setting']['imagemaxwidth']) {
                return 'class="zoom" onclick="zoom(this, this.src)" width="'.($width > $_G['setting']['imagemaxwidth'] ? $_G['setting']['imagemaxwidth'] : $width).'"';
        } else {
                return 'thumbImg="1"';
        }
}
不知道$_G['setting']['imagemaxwidth'] 是在什么时候赋值的,后台里有相关的设置吗?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-8-24 09:02 , Processed in 0.099046 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表