Title: Image height issue
Last modified: September 22, 2020

---

# Image height issue

 *  Resolved [alexfargier](https://wordpress.org/support/users/alexfargier/)
 * (@alexfargier)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/image-height-issue/)
 * When I publish a page on my website with an image, the image loads as a height
   cropped version of itself.
 * On this page the image is shown with 2 different layouts, showing the same cropping
   behaviour on both images: [https://www.biomusicone.com/img-height-issue/](https://www.biomusicone.com/img-height-issue/)
 * The style source, woocommerce-layout.css, (.woocommerce img, .woocommerce-page
   img) height property is set to auto. Changing this to a fixed value on inspection
   with dev tools stretches the image, suggesting it has been cropped when the page
   loaded.
 * Usually the whole image displays properly, in this case showing the full phone
   screen:
    [https://www.biomusicone.com/wp-content/uploads/2020/09/App_screenshot_4_new_noBorder_arrow_noBlur.png](https://www.biomusicone.com/wp-content/uploads/2020/09/App_screenshot_4_new_noBorder_arrow_noBlur.png)
 * I had never had this behaviour before (hard to say before when, but definitely
   before the last couple of Woocommerce updates, maybe before 4.4.2). I’m posting
   in this forum because the woocommerce style seems to be at fault, but in truth
   I don’t know if it’s due to a recent Woocommerce update or due to something else
   like my theme (Divi) or a plugin.
 * I also have no idea what to do about it. Usually I’d expect to be able to debug
   this by changing the height of the element or wrapping elements in dev tools,
   but in this case this doesn’t help. It appears the image is cropped, but I don’t
   know why or how.
 * Has anyone had this kind of problem before?
 * Many thanks for any help anyone can provide.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fimage-height-issue%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Siew](https://wordpress.org/support/users/kosiew/)
 * (@kosiew)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/image-height-issue/#post-13441398)
 * Hi there,
 * > in truth I don’t know if it’s due to a recent Woocommerce update or due to 
   something else like my theme (Divi) or a plugin.
      The best way to determine
   this is to:
    - Temporarily switch your theme to [Storefront](https://www.woocommerce.com/storefront/)
    - Disable all plugins except for WooCommerce
    - Repeat the action that is causing the problem
 * If you’re not seeing the same problem after completing the conflict test, then
   you know the problem was with the plugins and/or theme you deactivated. To figure
   out which plugin is causing the problem, reactivate your other plugins one by
   one, testing after each, until you find the one causing conflict. [You can find a more detailed explanation on how to do a conflict test here.](https://docs.woocommerce.com/document/how-to-test-for-conflicts/)
 * I hope this points you in the right direction.
 *  Plugin Support [mouli a11n](https://wordpress.org/support/users/mouli/)
 * (@mouli)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/image-height-issue/#post-13471575)
 * It’s been a while since we heard from you, so I’m marking this thread resolved.
   Hopefully, you’ve been able to resolve this, but if you haven’t, please open 
   up a new topic and we’ll be happy to help out.
 *  Thread Starter [alexfargier](https://wordpress.org/support/users/alexfargier/)
 * (@alexfargier)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/image-height-issue/#post-13488237)
 * Many thanks [@kosiew](https://wordpress.org/support/users/kosiew/) for your suggestions.
 * In the end, and somewhat frustratingly since I’ll never know why this happened,
   deleting the images from my library and re-uploading them was enough for wordpress
   to start displaying them properly again.
 * But doing the conflict testing was useful anyway because after doing it, I tried
   just displaying other images from my image library, which did in fact display
   properly. Should have thought of doing this earlier!
 * Btw, as an fyi regarding using storefront for testing, since the website uses
   Divi, this doesn’t seem to help because I just ended up seeing all the Divi shortcode
   after switching themes.

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

The topic ‘Image height issue’ 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

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

 * 3 replies
 * 3 participants
 * Last reply from: [alexfargier](https://wordpress.org/support/users/alexfargier/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/image-height-issue/#post-13488237)
 * Status: resolved