New Installtion - No Images
New Installtion - No Images
I did a cmsms installation on a windows machine for my new designer, but i can't seem to get any images to disply on the page.
What info can i post to help you help me solve this issue. The background image is displayed correctly which is in the template, but none of the images in the stylesheet are being displayed. Really frustrating.
What info can i post to help you help me solve this issue. The background image is displayed correctly which is in the template, but none of the images in the stylesheet are being displayed. Really frustrating.
Re: New Installtion - No Images
Current versions of CMSms (new installations) have the {cms_stylesheet} tag in the page template and this requires the full path to an image in the stylesheet.
So you nee to use something like
So you nee to use something like
Code: Select all
background: url([[root_url]]/uploads/images/image.jpg)
Re: New Installtion - No Images
Look at the CSS being generated and check to see if the paths are correct. Probably what he said above. ^
Re: New Installtion - No Images
Thanks for the replies. I also saw the change of the stylesheet tag and i'm really glad i'm doing this on a development system first time round, b/c i need to have all this down for when i upgrade the live systems!
I have tried using the full path as follows:
background-image: url(uploads/Merlot171/Header.png);
and as
background-image: url(localhost/merlot171/uploads/Merlot171/Header.png);
with little success. In the source of the page, the images are not included. So it would seem as if the advice given should work (ie the paths are incorrect), but it just doesn't.
Edit*** Changing the path to:
background-image: url(http://localhost/merlot171/uploads/Merlot171/Header.png);
did the trick.
So when you suggested full path, you really meant full path!
Just a question: on a live server, how would this look?
Like this? www.merlot171.co.za/uploads/Merlot171/Header.png
Thanks for the assist!
I have tried using the full path as follows:
background-image: url(uploads/Merlot171/Header.png);
and as
background-image: url(localhost/merlot171/uploads/Merlot171/Header.png);
with little success. In the source of the page, the images are not included. So it would seem as if the advice given should work (ie the paths are incorrect), but it just doesn't.

Edit*** Changing the path to:
background-image: url(http://localhost/merlot171/uploads/Merlot171/Header.png);
did the trick.
So when you suggested full path, you really meant full path!

Just a question: on a live server, how would this look?
Like this? www.merlot171.co.za/uploads/Merlot171/Header.png
Thanks for the assist!
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: New Installtion - No Images
on a live server it must be http://www.merlot171.co.za/uploads/Merlot171/Header.png
Re: New Installtion - No Images
You literally need to put [[root_url]]/uploads/**** in the style sheet image calls, this will pull the config.php root url into it...
Re: New Installtion - No Images
Thanks so much for the replies. Will be sure to do that. 
I have resolved almost all the problems related to this installation, but one little thing remains and i believe it is similar to the problem i have already mentioned, thus no new thread.
The whole site now displays fine, except for the gallery. The gallery module has templates and stylesheet, so my question is, what do you do with a scenario such as this:
It is as if those stylesheets are not even there, or close to it. the gallery looks terrible. On the gallery module page it says that gallery is 10.1 compatible, but it doesn't work for me.
Any suggestions?

I have resolved almost all the problems related to this installation, but one little thing remains and i believe it is similar to the problem i have already mentioned, thus no new thread.
The whole site now displays fine, except for the gallery. The gallery module has templates and stylesheet, so my question is, what do you do with a scenario such as this:
Code: Select all
.gallery .parentlink a {
display: block;
width: 50px;
height: 39px;
float: left;
text-indent: -1000px;
background: url(../../images/uppage.png) transparent no-repeat 0 0;
}
Any suggestions?
Re: New Installtion - No Images
Gallery should look good out of the box. You must not use the [root_url]] tag in Gallery template.
Can you check if there is a directory /modules/gallery/templates/css/ that contains css files?
Can you check if there is a directory /modules/gallery/templates/css/ that contains css files?
Re: New Installtion - No Images
Good chance that on a windows server the gallery image folder permissions need to be changed and look in it for any htaccess files as they mess with it also...
Re: New Installtion - No Images
Thanks for the responses.
I will have a look to see if those suggestions help. At the moment i am not too concerned as the designer doesn't need to be meddling with the gallery page anyway
I won't be surpriused if it is a windows issue, since i have never had problems under that better OS.
Will update when i have new info.
I will have a look to see if those suggestions help. At the moment i am not too concerned as the designer doesn't need to be meddling with the gallery page anyway

Will update when i have new info.