Title: Thumbnail cropping error
Last modified: July 7, 2020

---

# Thumbnail cropping error

 *  Resolved [stelios1111](https://wordpress.org/support/users/stelios1111/)
 * (@stelios1111)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/thumbnail-cropping-error/)
 * Hi,
    My dev confirms that your plugin is preventing the correct cropping of the
   image in the shop page. (featured image). The smush plugin is causing the problem
   by forcing the use of the original image.
 * I don’t want to change the smush plugin but if this is the case i will have to.
   
   Is there a way to stop this error. If you upload an image while smush is disables
   everything works nicely
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fthumbnail-cropping-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Predrag – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support1/)
 * (@wpmudev-support1)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/thumbnail-cropping-error/#post-13094999)
 * Hi [@stelios1111](https://wordpress.org/support/users/stelios1111/),
 * I’m afraid that I’m not familiar with such issues happening so far so could you
   provide us with some additional details about this issue?
 * Which eCommerce plugin are you using, WooCommerce or something else?
 * > The smush plugin is causing the problem by forcing the use of the original 
   > image.
 * Where exactly is Smush causing this, is it preventing the images from cropping
   during the upload or when they are added on the products and shown on frontend?
   
   Is it happening even if you use the default WP theme or is the issue theme-specific,
   also, do you have any additional add-ons for your eCommerce plugin, and is the
   issue happening with those disabled?
 * Can you try going to Smush > Bulk Smush panel and disable “Resize my full size
   images” option and see if the issue is gone after that?
 * Cheers,
    Predrag
 *  Thread Starter [stelios1111](https://wordpress.org/support/users/stelios1111/)
 * (@stelios1111)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/thumbnail-cropping-error/#post-13096662)
 * Hi,
    Yes woocommerce. My dev send me this Method Smush\Core\Integrations\Composer::
   process_image_resize is hooked to image_make_intermediate_size filter. In that
   method (line 156), width and height suffix is removed so intermediate size filename
   is saved under the same name as the main image. Because of that, all intermediate
   images have the same path as the main image so sizes that rely on cropping aren’t
   having properly sized image.
 * Can you try going to Smush > Bulk Smush panel and disable “Resize my full size
   images” option and see if the issue is gone after that?
    Yes i can try that later.
 * The issue is happening only on new uploaded images while smush is enabled. If
   disabled new uploads work great. What is the best size for resize full size images?
 * Thanks
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/thumbnail-cropping-error/#post-13101421)
 * Hi [@stelios1111](https://wordpress.org/support/users/stelios1111/)
 * > Can you try going to Smush > Bulk Smush panel and disable “Resize my full size
   > images” option and see if the issue is gone after that?
   >  Yes i can try that
   > later.
 * Please do and let us know about results. It will help us investigate it further.
 * > The issue is happening only on new uploaded images while smush is enabled. 
   > If disabled new uploads work great. What is the best size for resize full size
   > images?
 * In general, there’s a “threshold” for “original images” in WordPress that is 
   the 2560px size (any direction) so by default if there are images bigger than
   that, they are stored as “backup” and additional images with “-scaled” suffix(
   smaller, resized to 2560px longer side) are create that are then treated as “
   originals”. That’s WordPress way.
 * The “resize my full images” option would let you change that but it’s meant mostly
   to let you use bigger size of original images.
 * There’s no “right or wrong” settings but I’m not quite sure how it will interact
   with other plugins, especially if they do use some sort of own cropping/resizing.
   We didn’t have similar reports bout WooCommerce yet, I think, so if you could
   please test the behavior with this resizing option disabled and confirm whether
   it changes anything on your end or not – it would be a great help in further 
   investigation.
 * Best regards,
    Adam
 *  Thread Starter [stelios1111](https://wordpress.org/support/users/stelios1111/)
 * (@stelios1111)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/thumbnail-cropping-error/#post-13103966)
 * Hi,
    Unfortunately the option didn’t change a thing. Can you check more thoroughly
   please?
 *  Thread Starter [stelios1111](https://wordpress.org/support/users/stelios1111/)
 * (@stelios1111)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/thumbnail-cropping-error/#post-13123272)
 * Hello Adam,
    Anything on this?
 *  Plugin Support [Laura – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support8/)
 * (@wpmudev-support8)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/thumbnail-cropping-error/#post-13131936)
 * Hi [@stelios1111](https://wordpress.org/support/users/stelios1111/)
 * I’m afraid I still can’t replicate that but I might be missing something – probably
   some specific setting.
 * I have asked our Smush developers for consultation on this and am awaiting their
   feedback. I apologize for the delay but I’d appreciate a bit more patience. I
   or one of my colleagues we’ll update you here as soon as we get additional information
   from our developers.
 * Best regards,
    Adam
 *  Thread Starter [stelios1111](https://wordpress.org/support/users/stelios1111/)
 * (@stelios1111)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/thumbnail-cropping-error/#post-13132515)
 * Hi Adam,
    I can wait many thanks
 *  Thread Starter [stelios1111](https://wordpress.org/support/users/stelios1111/)
 * (@stelios1111)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/thumbnail-cropping-error/#post-13200326)
 * Hello,
    I am following up this issue that still remains. Is it possible to have
   an answer so i can wait for a solution or to change plugin?
 * Many thanks
 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/thumbnail-cropping-error/#post-13200746)
 * Hi [@stelios1111](https://wordpress.org/support/users/stelios1111/)
 * I’m afraid we still not able to replicate the problem.
 * But let’s run some extra tests.
 * Are you having an issue with the native WordPress image sizes or did your developer
   register a new image using the add_image_size()?
 * If so, can you send us the code that was used, we can implement on our theme 
   for some extra tests.
 * Best Regards
    Patrick Freitas
 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/thumbnail-cropping-error/#post-13399634)
 * Hi [@stelios1111](https://wordpress.org/support/users/stelios1111/)
 * I hope you are doing well.
 * We haven’t heard from you in a while, I’ll go and mark this thread as resolved.
 * However, feel free to let us know if you have any additional question or problem.
 * Best Regards
    Patrick Freitas

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

The topic ‘Thumbnail cropping error’ is closed to new replies.

 * ![](https://ps.w.org/wp-smushit/assets/icon-256x256.gif?rev=3447113)
 * [Smush – Image Optimization, Compression, Lazy Load, WebP & CDN](https://wordpress.org/plugins/wp-smushit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-smushit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-smushit/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-smushit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-smushit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-smushit/reviews/)

 * 10 replies
 * 4 participants
 * Last reply from: [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/thumbnail-cropping-error/#post-13399634)
 * Status: resolved