• 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.

    Thread Starter partyvandan

    (@partyvandan)

    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?

    Thread Starter partyvandan

    (@partyvandan)

    This is the theme https://www.templatesold.com/templates/wordpress-themes/wp-corporate/topcorp/5733.html

    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)

    Thread Starter partyvandan

    (@partyvandan)

    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.

    Thread Starter partyvandan

    (@partyvandan)

    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.

    Thread Starter partyvandan

    (@partyvandan)

    Not that I can find.

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

    Thread Starter partyvandan

    (@partyvandan)

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

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

    Thread Starter partyvandan

    (@partyvandan)

    <!--/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>
              <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>
            </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(); ?>
            </div>
            <!--/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.