Preferred locations of images used in layout

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
wcwooldridge
New Member
New Member
Posts: 4
Joined: Thu Sep 24, 2009 9:49 pm

Preferred locations of images used in layout

Post by wcwooldridge »

Newbie here, 2nd day and going well.  Before I head down the track to far, what is the thought on where to put images that are used in the layout of pages (background images, logo's, etc). I started down the path of uploading through image manager but this didn't seem the proper way to go.  So I was wondering if there are other thoughts on the approach.

Any ideas would be greatly appreciated.

Thanks,

Craig
Fraserm
Forum Members
Forum Members
Posts: 107
Joined: Wed Mar 04, 2009 2:27 pm

Re: Preferred locations of images used in layout

Post by Fraserm »

I don't think that's what he's asking Steve, I think he wants some ideas on where to store the layout/design images.

You could put them anywhere you like really, but probably best kept in a separate directory. You could create a new directory under /uploads/images but that would mean the directory would still be visible to back-end users who were using the image manager.

Or maybe another way would be to create another directory within /uploads or even at the root level to store them all in. At least that way the directory wouldn't show up in image manager and you don't risk one of your back-end users deleting it.
wcwooldridge
New Member
New Member
Posts: 4
Joined: Thu Sep 24, 2009 9:49 pm

Re: Preferred locations of images used in layout

Post by wcwooldridge »

Thanks Steve for answering, but Fraserm was correct. I was looking for the location on file system to put the files.  What I ended up doing, at least for the time being, was to create a directory under the images/ directory to store the file.  I at least had them separated from any other image set.  It sounds like this is probably OK to go ahead a leave.  I just was not sure, if I exported as a theme what would happen. I guess I can export and see what happens and how that works...

For some reason when I diid put them in my own directories under images/, my .gif files were not being served.  That was the end of the day so I was able to get figured out.  Hopefully today.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Preferred locations of images used in layout

Post by Dr.CSS »

When I make a template I put my images in uploads, like uploads/theme, folder named anything you want, then in css it is url(uploads/theme/image.jpg) this way they don't show up when editing a page and can be uploaded with file manager...
Post Reply

Return to “Layout and Design (CSS & HTML)”