image directory location (solved, I think!)

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.
Post Reply
susiegb
Forum Members
Forum Members
Posts: 33
Joined: Wed Jul 09, 2008 4:44 am

image directory location (solved, I think!)

Post by susiegb »

Hi

sorry in advance for a very basic question!

I'm using MAMP to develop my first CMS MS site locally. I had already developed the layout/css in Dreamweaver, and then brought them into CMS MS. I've got lots of background images in my stylesheet, but they don't seem to be showing up in the template (or test page). The path in the CSS is "../images/etc". I put a banner graphic directly into the template and that link works fine (images/banner.jpg).

I know there is an images directory in the CMS-MS folder. There is also another one in the uploads directory. I can't seem to make links to either work, although I can't see how it should be the one in 'uploads' - that doesn't make sense to me.

Hope someone can let me know what I need to do.

cheers

susiegb
Last edited by susiegb on Wed Mar 18, 2009 3:17 am, edited 1 time in total.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: image directory location

Post by jmcgin51 »

what is the image path in your config.php file?
susiegb
Forum Members
Forum Members
Posts: 33
Joined: Wed Jul 09, 2008 4:44 am

Re: image directory location

Post by susiegb »

(My extreme inexperience is showing here - I never thought to look there. I have no experience with php or this type of site as you may guess!)

It says the Default Path and URL for uploaded images in the image manager is
"uploads/images".

But -  I haven't uploaded anything. I'm taking the word 'uploaded' to mean uploaded to a server. Oh - but I suppose I'm working on 'localserver' so ...

OK maybe that's it! Still seems strange. But anyway ... is it OK to just drag and drop the images from a folder on my Mac to this folder? Which is what I did. Or do I have to use the image manager?

Thanks ... :)
susiegb
Forum Members
Forum Members
Posts: 33
Joined: Wed Jul 09, 2008 4:44 am

Re: image directory location

Post by susiegb »

I've moved all the images to the uploads/images folder, and they still don't appear. Path in stylesheet is "uploads/images/...". But - the banner image which is in the template file, and whose path is "images/banner.jpg" does appear! I find this all very confusing.

I'm also not clear on paths. I am used to working in Dreamweaver and templates are in a templates folder. When you 'create' a page based on a template, the paths are adjusted to wherever that new page is saved, so they're not the same as in the template file. I don't know if it works the same here or not. In fact, it seems it can't because otherwise that 'images/banner.jpg' link would not work in a test page, but it does. Is there anywhere that explains paths and file/folder structures in CMS-MS?

thanks ...
susiegb
Forum Members
Forum Members
Posts: 33
Joined: Wed Jul 09, 2008 4:44 am

Re: image directory location (solved I think!)

Post by susiegb »

Aha! I think it was a css clash! i had an outer div #pageWrapper, in my CSS, but I believe there is one with the same name in the CMS MS stylesheet! I changed the name and it now seems to be working - hoorray!!
Post Reply

Return to “CMSMS Core”