Title: static image dimensions?
Last modified: April 17, 2017

---

# static image dimensions?

 *  [woober](https://wordpress.org/support/users/woober/)
 * (@woober)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/static-image-dimensions/)
 * Hi
 * When woocommerce is updated, then the image dimensions are reset to default. 
   This fixes that:
    [https://docs.woocommerce.com/document/set-woocommerce-image-dimensions-upon-theme-activation/](https://docs.woocommerce.com/document/set-woocommerce-image-dimensions-upon-theme-activation/)
 * But then i need to re-activate the theme and to fix that:
    [https://gist.github.com/jameskoster/1695731#gistcomment-992696](https://gist.github.com/jameskoster/1695731#gistcomment-992696)
 * My question is, how can i fix this without having it to set the sizes every time
   functions.php is loadet? since i just need woocommerce to not overwrite/reset
   the default values every time i update to a new version?

The topic ‘static image dimensions?’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [woober](https://wordpress.org/support/users/woober/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/static-image-dimensions/)
 * Status: not resolved