XF 1.5 How do I change the default avatar

Brogan

XenForo moderator
Staff member
Change the image path in the style properties and upload new images for small, medium, and large avatars.
 

Temery

Active member
Change the image path in the style properties and upload new images for small, medium, and large avatars.
Ok, I'm in style properties, and I see nothing called image ? Where specifically do I change the image path.
 

Brogan

XenForo moderator
Staff member
Enter 'path to images' in the ACP search.

You will only need to do this if you are using the default style and directory on the server (upgrading would overwrite the custom images if you don't).

Otherwise you would just upload the new images to whichever style directories you have set up already.
 

Temery

Active member
Enter 'path to images' in the ACP search.

You will only need to do this if you are using the default style and directory on the server (upgrading would overwrite the custom images if you don't).

Otherwise you would just upload the new images to whichever style directories you have set up already.
What do I name the custom image for it to replace the default avatar?
 

Temery

Active member
The same as the default ones.

Look in styles/default/xenforo/avatars/

I get that, and I uploaded the avatar. But where do I change the path to the new default? I guess I could just rename the file, but there are several default avatars.


IMG_6716.PNG
 

Brogan

XenForo moderator
Staff member
But where do I change the path to the new default?
Enter 'path to images' in the ACP search.

You will only need to do this if you are using the default style and directory on the server (upgrading would overwrite the custom images if you don't).

Otherwise you would just upload the new images to whichever style directories you have set up already.
 

Temery

Active member
Ive done this, brogan. It changes nothing. What is the name of the default image I need to change?
 

Sunka

Well-known member
Just create those 3 default avatars with same name like default and same sizes.
You will end with 9 files (png).
Upload them to that default folder (you have to overwrite default ones).
Before every upgrade just delete default avatars in upload folder.
  • avatar_female_l.png
  • avatar_female_m.png
  • avatar_female_s.png
  • avatar_l.png
  • avatar_m.png
  • avatar_male_l.png
  • avatar_male_m.png
  • avatar_male_s.png
  • avatar_s.png
l size - 192 x 192 px
m size - 96 x 96 px
s zize - 48 x 48 px
 

Brogan

XenForo moderator
Staff member
Upload them to that default folder (you have to overwrite default ones).
Before every upgrade just delete default avatars in upload folder.
The recommended advice is to change the image path, as I have already explained.
 

Brogan

XenForo moderator
Staff member
Correct.

You create a new directory on the server, copy all of the files and folders from the default style to it, then modify individual images to suit.
 
Top