Title: Thumbnails help
Last modified: August 21, 2016

---

# Thumbnails help

 *  Resolved [zzuum](https://wordpress.org/support/users/zzuum/)
 * (@zzuum)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/thumbnails-help-1/)
 * Hello,
    I use this code to show different thumbanail size in my cotegories.
 *     ```
       <?php
       if ( has_post_thumbnail() ) {
       if (is_category('54')){
       the_post_thumbnail( 'category-thumb' );
       }
       }
       ?>
       ```
   
 * How can i change that code, when user is in other category, he see normal size
   thumbanils..
 * this is in functions.php
 *     ```
       if ( function_exists( 'add_image_size' ) ) {
       	add_image_size( 'category-thumb', 300, 300 );
       }
       ```
   
 * Here you can see my problem… now i see small and big thumbnails in this category(
   54).
 * link : [http://stefanvblog.com/category/interview/](http://stefanvblog.com/category/interview/)

The topic ‘Thumbnails help’ is closed to new replies.

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)
 * [featured image](https://wordpress.org/support/topic-tag/featured-image/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [size](https://wordpress.org/support/topic-tag/size/)
 * [thumbnail](https://wordpress.org/support/topic-tag/thumbnail/)

 * 0 replies
 * 1 participant
 * Last reply from: [zzuum](https://wordpress.org/support/users/zzuum/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/thumbnails-help-1/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
