WordPress.org

Ready to get started?Download WordPress

Forums

en example in your tag img src (7 posts)

  1. larsen174
    Member
    Posted 9 years ago #

    This is my problem..sfter days i couldn't resolve it.

    I'm trying to insert an image in a post, but I'm being fool

  2. iand
    Member
    Posted 9 years ago #

    One of mine:
    <img src="http://the-way-to-the-centre.org.uk/blog/images/Whoswho.jpg" alt="Whoswho" />

  3. Lorelle
    Member
    Posted 9 years ago #

    That is how to create an absolute link.

    When writing posts in WordPress, there are quicktags, little buttons, above the box in which you write your post. One of those is labeled "img".

    At the place where you want to add your image, click the "img" button and a small window will pop up. First, add the link to the image, using either an absolute address or a relative address:

    http://example.com/images/mypic.jpg

    or

    /images/mypic.jpg

    If the "images" folder is in your root directory, then you can use that. If it is in a subdirectory, then use that, like this:

    /wordpress/wp-images/mypic.jpg

    Click OKAY and in the second window, write a description of the picture. This description helps people with vision problems understand what they are looking at and will display on your page if the image does not load for some reason.

    The image should then be there in your post editing window.

    To check, click SAVE AND CONTINUE EDITING and if the picture is already on your website in the image folder, then you should see the picture in your preview.

    Also see: http://codex.wordpress.org/Wrapping_Text_Around_Images

  4. larsen174
    Member
    Posted 9 years ago #

    ok..this is my path..

    C:\WM\www\blog\wp-content\themes\red-train-1_0\images\file.jpg

    Ia all right for you?

  5. Lorelle
    Member
    Posted 9 years ago #

    For linking to a post on your hard drive. To link a post on your site, then you have to use the use information as I described for you.

    Are you using an installation of WordPress on your computer with Apache and all installed? Or are you making posts on a website with WordPress?

  6. Lorelle
    Member
    Posted 9 years ago #

    So it would be (if you put it in the wp-content folder on your site - not computer):

    /blog/wp-content/themes/red-train-1_0/images/file.jpg

  7. larsen174
    Member
    Posted 9 years ago #

    Thanks a lot Lorelle! Now the image display!

    THANKSSS!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.