WordPress.org

Ready to get started?Download WordPress

Forums

Image won't load on page. (2 posts)

  1. Arcane
    Member
    Posted 7 years ago #

    Hi.

    I've been trying to show an image on the top of all my pages. At the moment my code in the page.php looks like this (not all of the code):

    <div class="entry">
       	<div><img src="images/bk_fro.gif" width="200" height="12" /></div>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    		<div class="post" id="post-<?php the_ID(); ?>">

    Althoug this doesn't seem to work properly. It seems like the browser is trying to load the image but can't find it (and trust me, I've checked the path several times already). A link to the page follows. Open it in explorer as Firefox seems to hide the image box when it doesn't load properly (ignore the one in the footer).

    http://a-rum.awardspace.com/projekttest

    If anyone could give me some suggestions on how to solve this problem I would be most grateful. PHP isn't my cup of tea. :)

  2. whooami
    Member
    Posted 7 years ago #

    use the full uri to the image, whatever that is.

    firefox is looking for 2 images, in fact.

    http://a-rum.awardspace.com/images/bk_fro.gif
    http://a-rum.awardspace.com/a-rum.awardspace.com/hem.jpg

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags