Support » Fixing WordPress » Image in Footer?

  • How can I get an image link inside the footer? I want to have an image in the footer that refers back to another site, but I end up with an image placeholder instead. What am I doing wrong?

    I’m currently trying this method:

    a href="" target="_blank"><img src="<?php bloginfo('stylesheet_directory'); ?> h ttp://" />

    I tried just calling up the image, but didn’t even get the placeholder. With this method I get the holder, but no image. The only post I’ve found that references footer images gives this method as the answer, but for the life of me I can’t get it to work.

    Any ideas? Thanks in advance…

Viewing 5 replies - 1 through 5 (of 5 total)
  • When you view source on the rendered page, what’s the URL for the image (tag.gif)?

    When you copy that url from the source and paste it into your browser, is it found?

    the URL is referenced in the last part of the code I posted (, and is found when typed in directly.

    Bet you didn’t view source yet.

    What’s this line generate?

    "><img src="<?php bloginfo('stylesheet_directory'); ?> h ttp://" />

    I don’t know…I’m not sure what I’m supposed to type in directly from that.

    I don’t even know what all that means. I found a post from Moshu saying to write img src=… with all that <?php blah blah blah, so I copied it and just inserted my image reference, which <b>does</b> work.

    So if I take that out, what should I put?

    P.S. – There’s an extra space in the h ttp above so I could get it to show up. Otherwise it just made a link out of what I typed. The actual code has http:…

    If the image is at, I’d wager that’s the link you want to use in your <img> tag, eh?

    Probably not
    <img src="<?php bloginfo('stylesheet_directory'); ?>" />

    So… to help draw the complete picture: have you considered using:
    <img src="/tag.gif" />?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Image in Footer?’ is closed to new replies.