Support » Fixing WordPress » Featured Image is Cropped – Twenty Ten

  • Resolved splink01


    I am using the Twenty Ten theme in WP 3.0.1. I am trying to insert a Featured Image and the image comes out cropped for some reason. Only the center cut of the image is showing. Here is what it looks like –

    I am uploading .jpg files via the WP interface, but can’t seem to get it to work. What is wrong?


Viewing 5 replies - 1 through 5 (of 5 total)
  • The images that are cropped in the post are the thumbnails of the original.

    WordPress crops a thumbnail from the original. You could insert them as a different size.


    I have tried various different sizes. All return the same result, which is the cropped center cut of the image. No dice.

    A call somewhere is cropping the images, but I don’t know where from.

    What have you modified in the theme? I see you are using featured images differently…. and modified the header….

    I made a child theme so that I would not lose all of my changes if and when Twenty Ten gets updated. In the theme I have removed tags, removed ‘posted on’ date, changed the header image size and added a thumbnail to each post by changing the <div class>. To add the thumbnail, there are four <div class=”entry-content”> in the twentyten loop.php, I use this code on div three and four:

    <div class="entry-content">
        <?php /* if we have a thumbnail then show it */ ?>
        <?php if(has_post_thumbnail()): ?>
            <div class="cms-image" style="float: left; margin: 5px 5px 0 0;">
            <a>"> <?php the_post_thumbnail(); ?></a>
        <?php endif; ?>
        <?php the_excerpt(); ?>
        <?php /* REMOVED the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) ); */ ?>
    </div><!-- .entry-content -->

    Fixed it. The images I was using for ‘Featured Image’ were too small. I am such a stupido.

    Hopefully this helps someone else and keeps them from losing hours of time.

    Thanks for your replies guys.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Featured Image is Cropped – Twenty Ten’ is closed to new replies.