Title: REST API &amp; Thumbnails
Last modified: January 13, 2022

---

# REST API & Thumbnails

 *  Resolved [CSY](https://wordpress.org/support/users/csyecommerce/)
 * (@csyecommerce)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/rest-api-thumbnails/)
 * I have a client with 32 custom thumbnail sizes, we use REST API to create and
   update product information.
    Is there a method to exclude custom thumbnail sizes
   or a subset of sizes as clearly we wont want 32 size variations of the product
   images. besides max execution times out, currently set to 600 (5 mins) and if
   a product 2 or 3 images the count gets into the thousands. We obviously don’t
   want to extend that already generous timeout. I’ve searched but cant see a method
   to exclude thumbnails from REST.

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

 *  [3 Sons Development](https://wordpress.org/support/users/3sonsdevelopment/)
 * (@3sonsdevelopment)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/rest-api-thumbnails/#post-15253980)
 * Hey [@csyecommerce](https://wordpress.org/support/users/csyecommerce/),
 * That’s a lot of thumbnail sizes! For development oriented questions like this,
   I suggest asking them on either Slack or Facebook.
    - WooCommerce Slack Community: [https://woocommerce.com/community-slack/](https://woocommerce.com/community-slack/)
    - WooCommerce Community group on Facebook: [https://www.facebook.com/groups/advanced.woocommerce/](https://www.facebook.com/groups/advanced.woocommerce/)
 * I’ll leave this open here for a while to see if anyone has advice but I think
   moving this to Slack would be your best bet.
 * Cheers
 *  [Margaret S. woo-hc](https://wordpress.org/support/users/margaretwporg/)
 * (@margaretwporg)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/rest-api-thumbnails/#post-15283138)
 * Seems we have not had additional inputs on this thread.
 * Thus, we encourage you to make use of the above resources.
 * I’ll go ahead and mark the thread as closed but please feel free to create a 
   new thread if you have further questions.

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

The topic ‘REST API & Thumbnails’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [Margaret S. woo-hc](https://wordpress.org/support/users/margaretwporg/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/rest-api-thumbnails/#post-15283138)
 * Status: resolved