Title: Post thumbnail not working
Last modified: August 19, 2016

---

# Post thumbnail not working

 *  [andywelch](https://wordpress.org/support/users/andywelch/)
 * (@andywelch)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/post-thumbnail-not-working/)
 * Hi,
 * Can someone please clarify what the new 2.9 wp post thumbnail can and can’t do.
 * I’m having a difficult time with getting it to crop images down
 * Does the hard-cropping actually work? when and when doesn’t it work?
 * I want to be able to upload an image and Ideally it would be cropped to the thumbnail
   size I specced via a hard crop.
    I can work around the general un-user friendliness
   of it all at the moment. I’ve been using the image editing functionality with
   some success.
 * this is how I’m declaring it:
 * set_post_thumbnail_size(200, 126, true);
 * <?php
    if ( has_post_thumbnail() ) { the_post_thumbnail(array(200,126), array(‘
   class’ => ‘alignleft’)); } else { echo ‘<img src=”‘ . get_bloginfo(‘template_directory’).‘/
   images/thumb-na.jpg” />’; } ?>

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/post-thumbnail-not-working/#post-1386336)
 * Stick to one topic/thread at a time!
 * [http://wordpress.org/support/topic/364039?replies=4](http://wordpress.org/support/topic/364039?replies=4)

Viewing 1 replies (of 1 total)

The topic ‘Post thumbnail not working’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/post-thumbnail-not-working/#post-1386336)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
