• Is it possible to “hard code” images into the template?

    In the header.php file, I’m trying to add an image in the images folder. I’ve quadruple checked the code, and it seems okay to me. Here it is:

    <table border=”0″ width=”750″ cellpadding=”0″ cellspacing=”0″>
    <tr>
    <td><img src=”images/header.gif” border=”0″></td>
    </tr>
    </table>

    It’s that “header.gif” image that I want to add. It goes above the stuff the wordpress template generates.

    The URL is: https://www.naveenmedia.com/portfolio/

    Is there anything I have to do with the CSS to allow the page to read images hardcoded in? And yes, the image is in the images folder.

    Any help is greatly appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • if you are using 1.5 just use the kubrickheader.jpg name and make what everheader you want, dont have to change the name, and load it up that will fix it

    thats what i did

    “And yes, the image is in the images folder.”

    https://www.naveenmedia.com/portfolio/images/header.gif

    You sure? (That is the location “images/header.gif” in an img tag would be pointing at.)

    Thread Starter naveenmedia

    (@naveenmedia)

    Kafkaesqui, you were right.

    Well, sort of. I was putting the image into the images folder under the theme folder.

    I should have been putting it into the “wp-images” folder. Forgot how templates work, and that all relative links must refer from index.php in the root folder for the blog, and not from within the folder for the theme.

    Thanks!

    so say for instance if i have installed blix, none of the associated gifs or jpgs show up when the theme is activated. in which folder should the image files be placed?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Images not showing up’ is closed to new replies.