Forums

Problem with inserting images ... (3 posts)

  1. mydownwash
    Member
    Posted 3 years ago #

    Hey all,

    i'm new to wordpress and i started editing the stylesheet of the "classic style" to change this theme for my individual porpuses.

    Everything works fine and i was able to fix a lot of errors on my own.
    But now i got a little problem, where i need ur help.

    I just want to insert a simple image in the header for the <h1> element.

    <h1 id="header"><a href="<?php bloginfo('url'); ?>/"><img src="images/general/logo.jpg" alt="mydownwash.com" longdesc="http://www.mydownwash.com" width="173" border="0" /></a></h1>

    But there is only the alternate text displayed, like mydownwash.com !!

    The same problem in another section, where i only simply want to add a single image without any link oder something else...

    Maybe some of you know a solution !
    I will add my stylesheet so everybody can check what i did wrong!
    The stylesheet isn't ready yet so it's not perfect anymore.

    [long code moderated - no need]

  2. moshu
    Member
    Posted 3 years ago #

    Google for the difference between relative and absolute path!
    Use absolute path for the images.

  3. mydownwash
    Member
    Posted 3 years ago #

    thanks you are right. when i use absolute path it works thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.