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

XF 1.5 How do I change the default avatar

Brogan

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

Brogan

XenForo moderator
Staff member
#4
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
#5
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
#7
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
#8
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.
 

Sunka

Well-known member
#10
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
#13
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.