Support » Fixing WordPress » Image not showing in post

  • So I am having an issue with images showing up in my post. When I create a new post it uploads the image just fine and it shows it in the editor, but then when I publish the post the image doesn’t show up to the public. I was not having this issue until I changed the theme.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Change back to twentyten see if you have the same problem if not than you have problem with the theme.

    Yeah it’s is the theme. Is there anyway to fix that?

    What theme are you using? Also, is the image that is not displaying the Featured Image, or is it an image inserted into the content of the post?

    This is the theme

    I’m trying to insert it into the content of the post.

    I can’t be 100% sure, but looking at how the code is structured in the live preview, the images displayed are set as the featured image of the post – in the post insert box near the button to add the post to the page there should be a link “Use as featured image” click this to set the image as the featured, and save the post again.

    The theme also looks like it’s using the_excerpt() on the single post page to output content – by default the_excerpt() does not display content images (or any formatting for that matter)

    I have looked the screen up and down and can’t find a place to set a featured image. I found screen shots of where it should be on the dashboard and it’s not there.

    Okay I got the featured image issue worked out, but I am still getting no image on the published post.

    Does the theme come with any documentation for the image feature? My next guess would be that the image is dependent on a custom field.

    Not that I can find.

    post the link to your site, that way we can give you a better reply…

    Check for a single.php file. Look for the line <!--/post-img --

    How is the img tag right above that comment being created?

    <!--/post-title -->
            <div class="post-date">
              <div class="fl">On
                <?php the_time('M.d.y'); ?>
                , In
                <?php the_category(', ') ?>
                , by
                <?php the_author_posts_link(); ?>
              <div class="fr"> <a href="<?php the_permalink(); ?>" title="View <?php _e('Comments'); ?>">
                <?php comments_number(0, 1, '%'); ?>
                <?php _e('Comments'); ?>
                </a> </div>
              <div class="clr"></div>
            <?php $postimageurl = get_post_meta($post->ID, 'post-img', true); if ($postimageurl) { ?>
            <div class="post-pic"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><img src="<?php echo $postimageurl; ?>" alt="<?php the_title_attribute(); ?>" /></a></div>
            <?php } ?>
            <!--/post-img -->
            <div class="post-excerpt">
              <?php the_excerpt(); ?>
            <!--/post-excerpt -->

    Hi there,

    I am having the same problem, though the url of the picture is displayed in place of the image itself. I tried using twenty-ten and the same problem exists. My normal theme is Suffusion.

    The WordPress featured image dialog does not seem to work either. I did have Shiba’s media library plugin active, but have since disabled it to see if it was causing the problem. Still no change.

    Any help would be very appreciated 🙂

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Image not showing in post’ is closed to new replies.