I have a template that I am editing from DotcomWebDesign. I uploaded an image to replace the current header image, but the images drop-down list shows "There are no images in ./images"
I used the IMAGES link, browsed and uploaded the images in 3 different formats. None show. I ftped them, too. Still none show.
No images are showing in the images drop-down
Re: No images are showing in the images drop-down
Images used in template are shown in templates/your_template/images. This folder is not viewed by admin function IMAGES. Also the images used in template can't be uploaded by this function. They can only be uploaded by FTP. By IMAGES function are uploaded only the images used on pages.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: No images are showing in the images drop-down
Thank you. I would like to rename the header image file if possilble for seo purposes. Can you tell me what I would need to change, other than the name of the image? I cannot seem to find a php or css selector file that calls that image.
Re: No images are showing in the images drop-down
Standardly the file is not defined in stylesheet.css. It is simply called in template.htm by something like:
and this style may be used in a table or in a cell.
You may however define an id in the stylesheet.css and then use only this id in your template instead of the style. E.g.
In stylesheet.css:
in template.htm:
The name of the image is not important at all IMHO.
Code: Select all
style="background-image: url(<?php echo $pth['folder']['templateimages']?>top.jpg);"
You may however define an id in the stylesheet.css and then use only this id in your template instead of the style. E.g.
In stylesheet.css:
Code: Select all
#top_banner{
/*top image*/
background:url(../images/top.jpg);
/*dimensions of top image*/
width:1024px;
height:80px;
}
Code: Select all
<table width="1024" height="80" align="center" border="0" id="top_banner">
<tr>
<td><?php echo sitename();?></td>
</tr>
</table>
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.