Images for templates

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Hockey

Images for templates

Post by Hockey »

Is there a standard location outside the "uploads" directory where template images or files should be stored?

I'm creating my template from scratch and right now have a background image which in CSS looks like:

Code: Select all

url('uploads/bkgnd.gif')
This feels awkward for me mixing my template images in with potential other images...

Am I on the right track or is there a better method?
cyberman

Re: Images for templates

Post by cyberman »

There's no such an system default - you can do what you want :). But think it would be better you are using this

Code: Select all

url('uploads/images/bkgnd.gif')
or at the best  ;D

Code: Select all

url('uploads/images/your_template_name/bkgnd.gif')
Locked

Return to “CMSMS Core”