Title: different thumbnail sizes
Last modified: August 20, 2016

---

# different thumbnail sizes

 *  Resolved [candell](https://wordpress.org/support/users/candell/)
 * (@candell)
 * [15 years ago](https://wordpress.org/support/topic/different-thumbnail-sizes-1/)
 * Can someone help with creating thumbnails for the gallery AND post main images.
 * Each post is to have a main image, the size for this is 450×300 (set as featured
   image)
    We have an image gallery page, the thumbnails on this page should be 
   180×100 each.
 * In the functions.php file I have
 *     ```
       // Add support for Featured Images
       if (function_exists('add_theme_support')) {
           add_theme_support( 'post-thumbnails', array( 'post' ) );
       				set_post_thumbnail_size( 450, 300 );
       }
       ```
   
 * and in the wordpress admin (settings > media) I have set
 * Thumbnail size: 180×100 and ticked the box ‘crop thumbnail to exact dimensions’
 * When I add images to the gallery the 180×100 thumbs are working great, but the
   main post image (set as featured image) is also going in at 180×100 instead of
   450×300.
 * I guess I am confilcting setting the sizes in functions and in the wordpress 
   settings.
 * Can someone help, what do I do to make the thumbnails the correct size for each
   area?
 * Thanks

Viewing 1 replies (of 1 total)

 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [15 years ago](https://wordpress.org/support/topic/different-thumbnail-sizes-1/#post-2160466)
 * review: [http://codex.wordpress.org/Post_Thumbnails](http://codex.wordpress.org/Post_Thumbnails)

Viewing 1 replies (of 1 total)

The topic ‘different thumbnail sizes’ is closed to new replies.

## Tags

 * [thumbnails](https://wordpress.org/support/topic-tag/thumbnails/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/different-thumbnail-sizes-1/#post-2160466)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
