Avatars
All preuploaded avatars reside in the folder /avatars
. You can upload more images in SVG/GIF/JPG/PNG/WEBP format. Remember to Rebuild & Uncache from ACP » Settings. The avatars will be scaled automatically to 80x80px in the avatar list and to 60x60px in the user profile. It is recommended to use SVG images with 1:1 aspect ratio.
Uploading custom avatars
Users can upload a custom avatar from Panel » Avatar & Motto. The folder /attachments
must be CHMODed to 777 (Scroll down for help). PHP fileinfo
extension enabled is strongly recommended (PHP fileinfo
is enabled by default from PHP 5.3.0 on). Optionally PHP GD
extension enabled in order to crop and scale images. The max filesize of the uploaded image can be increased from AdminCP » Settings.
IMPORTANT
- In case you do not have PHP
fileinfo
enabled the image will be recognized by its extension (jpg|jpeg|png) without any attempt to crop/scale. Invalid images - (doc|exe|txt|pdf) files with an extension (jpg|jpeg|png) can be uploaded but obviously cannot be displayed in chat. - In case you have PHP
fileinfo
enabled but it doesn't work properly (no MIME type returned which is the case with some PHP versions) the uploaded image will not be processed. - PHP
GD
extension enabled / PHPfileinfo
enabled and working properly: the uploaded image will be cropped to a square with sides the shorter side of the original image and then scaled to 160x160 keeping its transparency. Invalid images will be deleted without any attempt to crop/scale.
CHMOD
CHMOD means to change the permissions (Read, Write, Execute) of a file or a folder on a Linux computer. You can do this easily with an FTP program - right click on a file or a folder and look for File permissions. Most FTP programs provide a field to enter a numeric value.