Method to modify the thumbnail 120X120 of the "Upload Picture" type field in the discuzX classification information
existdiscuzThe "Upload Image" type field in the classification information of X system automatically generates a 120x120 thumbnail. My colleagues in the technical department have been searching for the cause and have found that the system is dead.
在/source/function/function_threadsort.php这个文件里面,199行

$sortthread['value'] = getforumimg($imgoptiondata['aid'], 0, 120, 120);把120修改为你的大小即可
When the image is called in the category "Information module calls display template", the original image displayed
When pictures are called in the category "Information Theme Display Template", thumbnails are displayed
This setting is very unreasonable. I think that the thumbnail should also be displayed when the picture is called in the "Information Module Calling Display Template".
The modification method of calling thumbnail in "Information module calling display template":
Open sourec/class/block/html/block_sort.php
find
$optionvaluelist[] = $imgvalue['url'];
change to
$optionvaluelist[] = getforumimg($imgvalue['aid'], 0, 115, 154);
© Website copyright and disclaimer
1.[honmau Media] independently owns the copyright of all materials on relevant pages of this website;
2. No one is allowed to copy it without the express written permission of [honmau Media];
3. The articles that do not indicate "honmau Media" on this website are all from the Internet and are only for everyone to learn and refer;
4. If there is any infringement/violation/irregularity, please contact customer service QQ or email to delete it, please understand;
5.[honmau Media] reserves the right to correct, modify and update this statement at any time.legal notice