Page 1 of 1

css image paths goes to tmp/cache?

Posted: Fri Feb 25, 2011 8:56 am
by JiiPee
Desperate need here, I installed 1.9.3 and set it up in the sub folder and now I moved it to the root for publishing.

I made all the necessary changes into config file but for some reason after changing the folder, all images that I set up in the css files, get path like this:
http://www.mydomain.com/tmp/cache/uploa ... es/top.gif
I dont know where it takes that tmp/cache in there? In css I have only background: url(uploads/images/top.gif) no-repeat right top;

Any quick help, site is online but broken. please please..?

Re: css image paths goes to tmp/cache?

Posted: Fri Feb 25, 2011 12:53 pm
by M@rtijn
I assume you are using the {cms_stylesheet} tag in your page template?
In that case all references in your stylesheet should contain [[root_url]]

Code: Select all

background: url([[root_url]]/uploads/images/top.gif) no-repeat right top;