Discuz Mobile image thumbnail size Settings/modify sharpness

Source: Internet
Author: User

Discuz Mobile image thumbnail size Settings/modify sharpness

\template\default\mobile\forum\discuzcode.htm and

\template\default\touch\forum\discuzcode.htm

Find the Discuzcode.htm file and search for "200" with two codes as follows

function ImageList ($attach) {global $_g;
$attach [' refcheck '] = (! $attach [' remote '] && $_g[' setting '] [' Attachrefcheck ']) | | ($attach [' Remote '] && ($_g[' setting '] [' ftp '] [' Hideurl '] | | ($attach [' isimage '] &&$_g[' setting ' [' Attachimgpost '] && strtolower (substr ($_g[' setting '] [' FTP '] [ ' Attachurl '], 0, 3)) (= = ' ftp ')));
$mobilethumburl = $attach [' attachimg '] && $_g[' setting ' [' Showimages '] && (! $attach [' Price '] | | attach[' payed ') && ($_g[' group '] [' allowgetimage '] | | $_g[' uid '] = = $attach [' uid '])? Getforumimg ($attach [' aid '], 0, $, $, ' Fixnone '): ';
$aidencode = Packaids ($attach); $is _archive = $_g[' Forum_thread ' [' is_archived ']? " &fid= ". $_g[' FID ']." &archiveid= ". $_g[forum_thread][archiveid]: '; }

After the size parameter is changed and you see the effect on your phone, is the thumbnail getting bigger?
See, is not my site thumbnail or the original size (200PX), but how high definition? There is a little trick, let me keep for a while, hehe ~

Find Static/image/mobile/style.css
Modify the Red font in this section of the style

. plc. Pi. Message img,.plc. Pi. img_one img {margin:0px 4px 0px 0; max-width:300px; max-height:300px;}

Discuz Mobile image thumbnail size Settings/modify sharpness

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.