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

Default XenForo images path question

Discussion in 'General XenForo Discussion and Feedback' started by Despair, Jan 5, 2012.

  1. Despair

    Despair Active Member

    Why does XenForo request some of the default style xenforo images from:

    While some images are using:

    For example, gradients, editor icons, ui sprite.

    Wouldn't it be better to just call all regular XF images from styles/default/xenforo?

    I guess it kind of annoys me that I need to copy the xenforo subfolder into my own style and it's kind of duplicated in two locations. For people who have multiple styles, there is even more duplication as they need to copy the xenforo folder into each style. I suppose you can just copy the required folders only such as the gradients and editor icon folders and a few other files, but you still have multiple locations to look for when dealing with just XF images.

    Am I missing an advantage of this way?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You set the image path in Style Properties -> General -> Settings.

    Then you just have to copy any new or updated images to your style and delete the default style directory if you wish.
  3. Despair

    Despair Active Member

    Hmm, maybe you misunderstood me.

    For example, if you set your style path to:

    Some default XF images would now be requested from:

    Which means I need to copy and paste the styles/xenforo images folder into styles/mystyle.

    I'm questioning why not just request all default xf images from styles/default/xenforo?
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Each style should have a directory on the server.
    The default style has default/, all other styles should have their own directory.

    That allows for complete customisation and isolation from other styles.
  5. Despair

    Despair Active Member

    Yea, I guess at the cost of duplicating some images. If you have 5 styles:

    You'll need to copy the xenforo images into 5 styles? Not too fond of that. Additionally if some default images are changed, you now need to go into each sub folder and replace the image.

    Since you won't be deleting the default style folder, requesting all default xf images from that folder seems better IMO. Your own style folder will still contain all your customised images.
    Fuhrmann likes this.
  6. Brogan

    Brogan XenForo Moderator Staff Member

    I have.
  7. Despair

    Despair Active Member

    Doesn't the ACP request images from that folder? Maybe a few other places too.

Share This Page