discuz 论坛touch手机版 图片显示原图



touch\forum\viewthread_album.htm
查找一处:

  1. <!–{eval $imgurl = getforumimg($imglist[aid][$key], 0,2000, 550, ‘fixnone’);}–>

将这行注释或者删除

touch\forum\discuzcode.htm
查找第1处:

  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.改成(单独远程图片调用原图):

  1. $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.改成(远程图片和本地都调用原图):

  1. $mobilethumburl = $attach[‘attachimg’] && $_G[‘setting’][‘showimages’] && (!$attach[‘price’] || $attach[‘payed’]) && ($_G[‘group’][‘allowgetimage’] || $_G[‘uid’] == $attach[‘uid’]) ? ($attach[url].$attach[attachment]) : ” ;

 

查找第2处:

  1. $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.改成(单独远程图片调用原图):

  1. $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.改成(远程图片和本地都调用原图):

  1. $mobilethumburl = $attach[‘attachimg’] && $_G[‘setting’][‘showimages’] && (!$attach[‘price’] || $attach[‘payed’]) && ($_G[‘group’][‘allowgetimage’] || $_G[‘uid’] == $attach[‘uid’]) ? ($attach[url].$attach[attachment]) : ” ;

摘自网络。