touch\forum\viewthread_album.htm
查找一处:- <!--{eval $imgurl = getforumimg($imglist[aid][$key], 0,2000, 550, 'fixnone');}-->
复制代码
将这行注释或者删除
touch\forum\discuzcode.htm
查找第1处:
- $mobilethumburl = $mobilethumburl = $attach['attachimg'] && $_G['setting']['showimages'] && (!$attach['price'] || $attach['payed']) && ($_G['group']['allowgetimage'] || $_G['uid'] == $attach['uid']) ? getforumimg($attach['aid'], 0, $fix, $fix, $fixtype) : '' ;
复制代码 a.改成(单独远程图片调用原图):
- $mobilethumburl = $attach['attachimg'] && $_G['setting']['showimages']$mobilethumburl = $attach['attachimg'] && $_G['setting']['showimages'] && (!$attach['price'] || $attach['payed']) && ($_G['group']['allowgetimage'] || $_G['uid'] == $attach['uid']) ? ($attach['remote']?$attach[url].$attach[attachment]:getforumimg($attach['aid'], 0, $fix, $fix, $fixtype)) : '' ;
复制代码 b.改成(远程图片和本地都调用原图):
- $mobilethumburl = $attach['attachimg'] && $_G['setting']['showimages']$mobilethumburl = $attach['attachimg'] && $_G['setting']['showimages'] && (!$attach['price'] || $attach['payed']) && ($_G['group']['allowgetimage'] || $_G['uid'] == $attach['uid']) ? ($attach[url].$attach[attachment]) : '' ;
复制代码
查找第2处:
- $mobilethumburl = $attach['attachimg'] && $_G['setting']['showimages'] && (!$attach['price'] || $attach['payed']) && ($_G['group']['allowgetimage'] || $_G['uid'] == $attach['uid']) ? getforumimg($attach['aid'], 0, 2000, 2000, 'fixnone') : '' ;
复制代码 a.改成(单独远程图片调用原图):
- $mobilethumburl = $attach['attachimg'] && $_G['setting']['showimages'] && (!$attach['price'] || $attach['payed']) && ($_G['group']['allowgetimage'] || $_G['uid'] == $attach['uid']) ? ($attach['remote']?$attach[url].$attach[attachment]:getforumimg($attach['aid'], 0, 2000, 2000, 'fixnone')) : '' ;
复制代码 b.改成(远程图片和本地都调用原图):
- $mobilethumburl = $attach['attachimg'] && $_G['setting']['showimages'] && (!$attach['price'] || $attach['payed']) && ($_G['group']['allowgetimage'] || $_G['uid'] == $attach['uid']) ? ($attach[url].$attach[attachment]) : '' ;
复制代码
|