DZ(Discuz!)群组图标(变量:$group[icon])默认会被压缩成48*48像素,如若拉伸放大就会变模糊,解决方法如下:
打开\source\function\目录下的function_forum.php
查找:$img->Thumb($upload->attach['target'], './'.$uploadtype.'/'.$upload->attach['attachment'], 48, 48, 'fixwr');
其中的48,48就是宽高了,改成你要的规格即可
例如:$img->Thumb($upload->attach['target'], './'.$uploadtype.'/'.$upload->attach['attachment'], 66, 66, 'fixwr');
注意:修改后,已上传的群组图标还是小的,需要重新上传才会变大变清晰。
本文由
bigwei08028 创作,除注明转载/出处外,均为本站原创,转载前请务必署名
最后编辑时间为: 2019-09-10 09:50 Tuesday
Hi my loved one! I wish to say that this article is amazing, nice written and include almost all
important infos. I'd like to look more posts
like this .