Amaury
Well-known member
What file would be edited to remove the 192 x 192 dimension restrictions and increase the dimensions to 200 x 200? I know it's possible, as @mistypants has done it for her site.
Thanks!
Thanks!
protected static $_sizes = array(
'l' => 192,
'm' => 96,
's' => 48
);
Open library/XenForo/Model/Avatar.php and find:
Edit the numbers to whatever you would like. That will change the size at which XenForo stores large sized avatars. You'll have to do further CSS and template edits to show the entire avatar on places like the member card.PHP:protected static $_sizes = array( 'l' => 192, 'm' => 96, 's' => 48 );
I've been avoiding doing this simply because all of the headache. Like Misty said, it will require css to get all the images to display correctly. Not only that but users would have to re-upload images as they would become distorted. Unless I did it wrong the last time. I can change it for you, if you want, I'm just saying it was a pain dealing with.
We use essential cookies to make this site work, and optional cookies to enhance your experience.