Lack of interest Rethought of Path To Images

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Junior

Well-known member
By default path to images is styles/default, I'm suggesting it be styles/default/xenforo

Reason:
While creating a new theme (we'll call the theme bob), if I change the path to images to /bob/, all current images of xenforo will try to connect them to /bob/xenforo since @imagepath/xenforo/ is what all image paths are currently inside tempalates.

Why it's a problem:
If a skin developer starts creating a custom style and adds a custom image they will have to do the following with the way xenforo is currently set up: /styles/bob/gradient/mygradient.png. If someone using the template renames the template folder, they will have to go and find all my image paths and rename them.

Solution:
Set path to images to be styles/default/xenforo and change the imagepaths of all images by default to exclude the /xenforo/

---

Of course I can manually do this every time I create an xenforo theme but it would be a lot less time consuming if it was already done.

Optionally (if it doesn't already exists) @templatepath. @templatepath won't pull the image path but will instead know what template is selected and where it is saved. If this is already avaialble
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
I have a /images directory in my styles directory at the same heirarchy as the xenforo directory and I have css created as e.g. @imagePath/images/image.png

With this change, I would then have to move my directory to inside the xenforo directory.

I didn't really understand the point as to why it needs to change - I'll re-read your post.
 
Hey Brogan

Seems like a simple enough fix. I suppose my suggestion would work for people who install styles directly into the styles directory, but not for people who install styles inside the default directory.
 
Top Bottom