Title: Custom thumbnail sizes
Last modified: August 22, 2016

---

# Custom thumbnail sizes

 *  [Vizou](https://wordpress.org/support/users/vizou/)
 * (@vizou)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/custom-thumbnail-sizes-1/)
 * I am creating custom templates for use with Exchange and can’t find info on how
   to use my custom thumbnail sizes (Exchange doesn’t recognize them). Can you help
   with this?
 * [https://wordpress.org/plugins/ithemes-exchange/](https://wordpress.org/plugins/ithemes-exchange/)

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

 *  Plugin Author [Elise Alley](https://wordpress.org/support/users/ecalley/)
 * (@ecalley)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/custom-thumbnail-sizes-1/#post-5333927)
 * Hi vizou,
 * To control the size of the image on the store page, you’ll go into your Exchange
   file and into /lib/templates/content-store/elements. There you’ll find and copy
   the featured-image.php file. In your copy of the file, on about line 20, you’ll
   find where the image size is set.
 * `<?php it_exchange( 'product', 'featured-image', array( 'size' => 'large' ) );?
   >`
 * Try changing ‘large’ to ‘thumbnail’ (it uses the default WordPress image sizes).
   In your WordPress dashboard, go to Settings > Media and set your Thumbnail size
   to whatever you’d like it to be. Then you’ll create a directory in your child
   theme: /wp-content/themes/YourTheme/exchange/content-store/elements/. There, 
   you’ll upload your copy of the featured-image.php file. That should take care
   of your images all being the same size on your store page.
 * If you changed your image sizes in Settings > Media, it won’t change the size
   of images already on your site. You might look into plugins like this to regenerate
   the older images on your site: [https://wordpress.org/plugins/regenerate-thumbnails/](https://wordpress.org/plugins/regenerate-thumbnails/)
 * Let us know if you have any additional questions.
 * Thanks,
 * Elise
 *  Thread Starter [Vizou](https://wordpress.org/support/users/vizou/)
 * (@vizou)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/custom-thumbnail-sizes-1/#post-5333958)
 * Thanks for the response!
 * I totally get how it works with templates… but unfortunately your great explanation
   doesn’t answer my question about how to use a CUSTOM image size (one that is 
   registered in theme functions.php or in a custom plugin in my case).
 * I want to use my custom size “thirdcolumn” and Exchange doesn’t recognize this
   custom size which is registered by my theme. I don’t want to use the image sizes
   generated by the Media settings. Is this possible?
 * I should further state that I am using a custom page template to display the 
   store products (so I can break them into categories). In that template, I am 
   using code from the Exchange templates (which I also have within my theme). My
   custom queries look something like this :
 *     ```
       <?php do_action( 'it_exchange_content_store_before_wrap' ); ?>
       <?php do_action( 'it_exchange_content_store_begin_wrap' ); ?>
   
       <?php $my_query = new WP_Query('post_type=it_exchange_prod&taxonomy=it_exchange_category&term=linda-digital&posts_per_page=-1&orderby=menu_order&order=asc'); ?>
   
       <ul class="products">
         <?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
         <li>
           <?php it_exchange_set_product( $post->ID ); ?>
           <?php it_exchange( 'product', 'featured-image', array( 'size' => 'thirdcolumn' ) ); ?>
           <?php the_title(); ?>
         </li>
       <?php endwhile; ?>
       </ul>
   
       <?php do_action( 'it_exchange_content_store_after_wrap' ); ?>
       <?php do_action( 'it_exchange_content_store_after_wrap' ); ?>
       ```
   
 * The template works fine except for the image size.
 *  [Abaloo](https://wordpress.org/support/users/abaloo/)
 * (@abaloo)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/custom-thumbnail-sizes-1/#post-5334128)
 * Was there any answer on this?
 * I am having the same issue – images are not displaying correctly in my theme.

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/ithemes-exchange_ecedef.svg)
 * [ExchangeWP: Simple WP Ecommerce](https://wordpress.org/plugins/ithemes-exchange/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ithemes-exchange/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ithemes-exchange/)
 * [Active Topics](https://wordpress.org/support/plugin/ithemes-exchange/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ithemes-exchange/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ithemes-exchange/reviews/)

## Tags

 * [featured image](https://wordpress.org/support/topic-tag/featured-image/)
 * [images](https://wordpress.org/support/topic-tag/images/)
 * [templates](https://wordpress.org/support/topic-tag/templates/)

 * 3 replies
 * 3 participants
 * Last reply from: [Abaloo](https://wordpress.org/support/users/abaloo/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/custom-thumbnail-sizes-1/#post-5334128)
 * Status: not resolved