WordPress.org

Ready to get started?Download WordPress

Forums

Jpeg fails to display in header (7 posts)

  1. Chateaupoulet
    Member
    Posted 1 year ago #

    Hi there,

    I'm trying to swap a logo in my header. The new logo just will not display. I have uploaded it several times using both Filezilla and WordPress media library. The old one and any other image I choose from the same image directory will display perfectly.

    Firebug just tells me "failed to load the given URL"

    Relevant code from header.php below.

    <div style="float:left">
    <img width="271" height="140" alt="The Hot to Trot Racing Club" src="/images/logo271px.jpg">
    </div> Does not display, just the alt text.

    <div style="float:right; margin-top:; margin-left:10px">
    <img width="630" height="140" alt="The Hot to Trot Racing Club" src="/images/collageII.jpg"> Displays prefectly.
    </div>

    Site is http://www.hottotrotracingclub.com

    Many thanks for any help you can offer.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Try using the full url for your image's src: eg http://example.com/images/collageII.jpg

  3. Chateaupoulet
    Member
    Posted 1 year ago #

    Hi there, I should have said that I tried that with the same result.

    I've remade and uploaded the logo several times in case it was corrupt.

    I'm completelty at a loss!

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    Where is the image file stored?

  5. Chateaupoulet
    Member
    Posted 1 year ago #

    In a folder called Images, where the other logo collageII.jpg is stored.

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    And that is where on your domain?

  7. Chateaupoulet
    Member
    Posted 1 year ago #

    Had one more try - uploaded it again using WordPress Add media, checked that it was visible in the Media Library
    and used path below. This now displays the logo (!), but I had already done exactly this yesterday. I don't understand it!

    http://www.hottotrotracingclub.com/wp-content/uploads/2012/12/logo271px.jpg

Topic Closed

This topic has been closed to new replies.

About this Topic