Title: WordPress 2014 feature image
Last modified: August 21, 2016

---

# WordPress 2014 feature image

 *  [c-m](https://wordpress.org/support/users/c-m/)
 * (@c-m)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wordpress-2014-feature-image/)
 * How does the wordpress 2014 theme handle the featured image/post thumbnail?
 * I’m trying to recreate that on my site with some success but not completly.
 * The 2014 theme seems to be showing the featured image at 100% width, with is 
   easy to emulate, but somehow it’s limiting the height of images.
 * The way it seems to be doing this is not anything that listed in the codex.
 * Can anyone shed any light on it?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [12 years, 3 months ago](https://wordpress.org/support/topic/wordpress-2014-feature-image/#post-4506373)
 * Please link to the page that has the featured image, that you’re referring to.
 *  Thread Starter [c-m](https://wordpress.org/support/users/c-m/)
 * (@c-m)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/wordpress-2014-feature-image/#post-4506374)
 * It’s the default wordpress 2014 theme as shown here:
 * [http://twentyfourteendemo.wordpress.com/2012/02/13/cu-vide-albucius-euripidis-pri/](http://twentyfourteendemo.wordpress.com/2012/02/13/cu-vide-albucius-euripidis-pri/)
 * In the demo above the actual featured image used has been pre-cropped to the 
   exact dimensions, so it’s not really a good example.
 * If you have a site running the 2014 theme and you upload a featured image say
   that’s 1000px heigh, the theme will automatically crop the image to height 372.
 * On my site running a custom theme styled to look a bit like 2014, I can’t or 
   don’t know how to replicate this automatic cropping of the featured image. [http://defylife.co.uk/equipment/winter-tyre-review-heidenau-k60-silica/](http://defylife.co.uk/equipment/winter-tyre-review-heidenau-k60-silica/)
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [12 years, 3 months ago](https://wordpress.org/support/topic/wordpress-2014-feature-image/#post-4506375)
 * Use the `add_image_size` function to register the image size you want,
    [http://codex.wordpress.org/Function_Reference/add_image_size#Description](http://codex.wordpress.org/Function_Reference/add_image_size#Description)
 * Then spit out the image with the `$name` parameter you passed in `add_image_size`,
   
   [http://codex.wordpress.org/Function_Reference/add_image_size#For_Featured_Images](http://codex.wordpress.org/Function_Reference/add_image_size#For_Featured_Images)
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [12 years, 3 months ago](https://wordpress.org/support/topic/wordpress-2014-feature-image/#post-4506376)
 * > It’s the default wordpress 2014 theme as shown here:
 * Note that that’s the **.com** demo website, not the .org. It’s not so different
   with Twenty Fourteen, but it may different for other themes.
 *  Thread Starter [c-m](https://wordpress.org/support/users/c-m/)
 * (@c-m)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/wordpress-2014-feature-image/#post-4506391)
 * It’sjust not working for me.
 * I’ve added the code below to my functions.
 *     ```
       add_image_size( 'featured', 1024, 350, true );
       ```
   
 * That should give me an image size of 1024px by 350px.
 * In my template I’m calling:
 *     ```
       <?php // check if the post has a Post Thumbnail assigned to it.
       if ( has_post_thumbnail() ) {
       	the_post_thumbnail('featured');
       }
       ?>
       ```
   
 * The result is an image that is 333px wide. It just doesn’t seem to make any sense.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘WordPress 2014 feature image’ is closed to new replies.

 * 5 replies
 * 2 participants
 * Last reply from: [c-m](https://wordpress.org/support/users/c-m/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/wordpress-2014-feature-image/#post-4506391)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
