In the ACP you can give the image a class. Use cover to have it fit the box. Or you can give anything you want and then customize in the theme CSS override.
Profile Image Upload not working.
I have a weird bug when I try to upload an image on the profile page.
If the image doesn't meet the requirements I have normal error concerning size ect. But if the image is meeting the requirements I have this error :
Command failed: Param�tre non valide - 156x156^
The weird part is that my NodeBB is in English but the error is in French with an invalid character (an accent). And it ends with a ^
The 156 is normal I have changed the default size but it wasn't working before.
On the other hand the image upload in the ACP > Categories is working fine.
I don't see where the problem could be.
That error is most likely coming from this line. Make sure your imagemagick and graphicsmagick modules are up to date. Are you on CentOS by any chance?
@baris I'm on a Windows local dev environment.
I think I need to install imagemagick and graphicsmagick or are they included in nodebb packages ?
I know that Imagemagick is a program that can be installed with PHP but I don't know how it works with node.
@baris Thanks fixed it