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

Changing Default Avatar

Discussion in 'Styling and Customization Questions' started by Glenn Kilpatrick, Sep 9, 2015.

  1. Is it possible for me to change the Default avatar to something really annoying, like a picture of me. That way my members will get fed up and change it to their own ??
     
  2. Ha, who ever moved that was fast ;)
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    The default avatars are stored in the styles/<style>/xenforo/avatars directory.

    You can replace the existing small, medium and large avatars with your own.

    I did ;)
     
  4. Mr Lucky

    Mr Lucky Well-Known Member

    And you will need to upload them again every time you update (or omit to upload that folder with the update)
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    Or create a new styles folder and change the setting in the ACP to point to that (which is recommended), which would prevent them being overwritten each time you upgrade.
     
  6. Mr Lucky

    Mr Lucky Well-Known Member

    Wouldn't get complicated if an update or addon includes images that go into the /styles/ folder?
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    Just copy them.

    Exactly the same process if using a third party style which has its own directory.
     
  8. Mr Lucky

    Mr Lucky Well-Known Member

    In the end though, isn't that just as much faff?

    It would be nice if you could define just the path to default avatars.
     
  9. IPF

    IPF Active Member

    Where can I find this setting?

    Thanks.
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

    Style Properties -> General -> Path to Images
     
    IPF likes this.
  11. IPF

    IPF Active Member

    Works perfectly. Thanks.

    For anyone who wants to change the default avatar,

    Create 9 png files.

    File names:

    1.JPG

    File Size:
    Small avatar- 48px * 48px
    medium avatar-96px * 96px
    Large avatar - 192px * 192px

    FTP to your server.

    Capture.JPG
     
    davs likes this.
  12. davs

    davs Member

    thanks, I like detail, saves hours :)
     

Share This Page