Support » Fixing WordPress » Images in posts not showing

  • Please, I have a blog at a-man.hu and if you go into a post, where you can see the comments, the images from the template are not found. (but on the main site they’re visible…)

    So please check out the site, and help me if you can 🙁

    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Ne használj relatív elérési útvonalat a képeknél!

    Use absolute path for the images.

    How do I do that?

    köszi 🙂

    Instead of ../images/mypic.jpg you should put ALL your theme/design related images in the wp-content/themes/your-theme/images/ directory and then you can use
    <img src="<?php bloginfo('stylesheet_directory'); ?>/images/my-pic.jpg" alt="My pic" />

    Your images are not shown because with the nice permalinks your URL is changing all the time
    example.com
    example.com/archives/2008/09
    example.com/category/category-name
    etc.
    and the relative path is just not enough: it is always relative to the location where you are!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Images in posts not showing’ is closed to new replies.