• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

RM 2.0 Thumbnail dimensions

ChrisTERiS

Active member
#1
Hello,

In xF1 version, in file library/XenResource/Model/Resource.php there was a variable:
Code:
public static $iconSize = 96;
which I was able to edit for changing thumbnail width.

Where this variable is locating for xF2 version?

Thank you
Chris
 

Mike

XenForo developer
Staff member
#2
It's mapped to avatar sizes in XF2:
Code:
$targetSize = $this->app->container('avatarSizeMap')['m'];
In src/addons/XFRM/Service/ResourceItem/Icon.php.