Support » Themes and Templates » wierdness- I can’t display my header image, and the theme manager has gone silly

  • Hello everyone I’m new here!

    I’ve pretty much got my wp site ready to upload, but there are a couple of little annoyances that are probably related.

    the main thing is that I can’t get my header image to display. I’m using the default theme on WP 2.0.4, and all I can see is the css gradation thingy that the theme generates.

    I’ve changes the .css file to read:
    #header {
    background: url(‘images/obheader.gif’) no-repeat bottom center;

    #headerimg {
    margin: 7px 9px 0;
    height: 192px;
    width: 740px;

    and placed the file “obheader.jpg” in the images folder of the theme.

    Also, and I’m not sure if this is related, the theme manager part of the admin site has gone really strange. Instead of the theme title, description, etc, for each of these the entire .css file is printed out (screenshot at I think this started happening when I tried (unsuccessfully) to install the photon gallery plugin, although I’m sure I removed all the code it told me to add to various pages. In fact, I’ve just gone away and tried running a fresh WP directory with my existing database and wp-config.php, and the same problem exists, so it must be in the database…

    any ideas???

Viewing 13 replies - 1 through 13 (of 13 total)
  • Just a thought…you may want to upload a fresh default theme directory and then name your custom header image kubrickheader.jpg and just replace the default one in the images folder. That way, you don’t need to change any code.


    Hi Steve,

    Sorry, I should have said – that’s what I tried first!! I only tried the different filename when that didn’t work!


    Do you have a link so we can see it?

    Sorry it’s on my server at home at the moment. I may well upload it in a bit, though.

    I’m a webbie – I should be able to figure this out!! (hangs head in shame)

    OK, ’tis uploaded now, at

    Aagh! And I was beginning to think I understood WP… Now whenever I try to login on the remote site, it redirects me to the local admin!!!

    I’m guessing this isn’t related to the other problems…..

    edit – d’oh!! I had to change the site url in the database…

    The admin section seems to work fine on the remote server. no wierd displays of the css file to be seen!

    so now it’s just the problem of the header image.

    I see your site fine, but it looks like you just have the color of the header set to white. When I look at the source code I see this:


    Which indicates to me that you have set the color to white. Go to your presentation tab and on the default theme you will see a subtab to edit the header…go there and set the upper and lower colors to some other color and see if this fixes if for you.



    I set it to white because it wasn’t displaying the image I created to put there. I can change the colours to anything I like, but i can’t get it to display an image.

    I forgot to mention this, but it did work for a short while after I first replaced the image, and then it stopped working when I changed the text colour. Then I fiddled around – I can’t remember what I did, but the image re-appeared, and then it vanished again for no apparent reason….

    edit… what should be shown is this image:

    I fixed it!!

    for some reason it was prioritising the graded php generated stuff over my image I basically ‘broke’ the header-img.php file by changing the function name it was asking for to something silly.


    thanks for all your help.


    Mistafeesh, I’m tearing my hair out with the same problem! You say you fixed it by “I basically ‘broke’ the header-img.php file by changing the function name it was asking for to something silly”

    Where did you make this change? What file was asking for header-img.php?

    Thanks for your help.

    Hi Aileen,

    I’ve just seen your post… I’ll have a look at the file and try to remember what I did….


    I edited public_html/wp-content/themes/default/images/header-img.php.

    the first few lines in the file now read:


    $img = ‘kubrickheader.jpg’;

    // If we don’t have image processing support, redirect.
    /*if ( ! function_exists(‘imagecreatefromjpeg’) )*/
    if ( ! function_exists(‘diechickendie’) )
    die(header(“Location: obheader.jpg”));

    I think it was the “diechickendie” bit that I renamed. I can’t remember what I changed it from….

    And the “obheader.jpg” needs to be whatever you named the image to!

    Hope this helps….


    Hi, everyone! I can totally relate to your issues!

    I FINALLY found a theme I like, and I find out the header is preset–I had to make my own! That’s done, now I just need to know how to insert it into my page. I know this topic has come up already, but I just want to make sure that my responses are specific to my site. My site is at

    Thank you in advance. I too am new at this!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘wierdness- I can’t display my header image, and the theme manager has gone silly’ is closed to new replies.