Title: Thumbnails wrong after optimisation
Last modified: February 28, 2022

---

# Thumbnails wrong after optimisation

 *  Resolved [kinghill](https://wordpress.org/support/users/kinghill/)
 * (@kinghill)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/thumbnails-wrong-after-optimisation/)
 * Hello,
    I’m consistently experiencing a very strange behavior: our website allows
   user to upload their profile photos. Every so often I need to do 1:1 crop of 
   their submissions so that the images comply to our website layout requirements.
   After that, I have to regenerate thumbnails for these images, which is kind of
   to be expected. Fro this I installed the [Force Regenerate Thumbnails](https://en-gb.wordpress.org/plugins/force-regenerate-thumbnails/)
   by Pedro Elsner. If EWWW Image Optimizer is activated when the thumbnails are
   being regenerated, the resulting thumbnails consistently revert back to the original
   aspect ratio and do not respect the new 1:1 crop at all. The only way for me 
   to get around this, is to de-activate EWWW for thumbnail regeneration and then
   re-activate it again.
 * Any ideas what is going? And/or how to prevent this?
 * Thank you!

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

 *  Plugin Support [adamewww](https://wordpress.org/support/users/adamewww/)
 * (@adamewww)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/thumbnails-wrong-after-optimisation/#post-15416038)
 * Hi kinghill,
 * We prevent the image editor from generating new versions of images except in 
   specific instances. However, there is an override that you could use to tell 
   the plugin to “backoff.” [Editor Overrite](https://docs.ewww.io/article/31-ewwwioeditoroverwrite)
 *  Thread Starter [kinghill](https://wordpress.org/support/users/kinghill/)
 * (@kinghill)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/thumbnails-wrong-after-optimisation/#post-15416637)
 * Hello and thanks for your reply!
    But unfortunately, adding `define( 'EWWWIO_EDITOR_OVERWRITE',
   true );` to my wp_config.php didn’t do the trick.
 *     ```
       define( 'WP_DEBUG', false );
   
       define( 'EWWWIO_EDITOR_OVERWRITE', true );
   
       /* That's all, stop editing! Happy publishing. */
       ```
   
 * Perhaps I described my issue not fully or correctly, so I decided to make screenshots
   for you. They are numbered and can all be found here:
    [https://1drv.ms/u/s!AqyHmqxK9rN_uthKld-_Dr086WnXIg?e=8bVNAR](https://1drv.ms/u/s!AqyHmqxK9rN_uthKld-_Dr086WnXIg?e=8bVNAR)
 * 1. Divi Gallery after first EWWW optimization (=my problem)
    2. Image Details
   Media Library 3. Force Regenerate Thumbnail in Media Library 5. Divi Gallery 
   after Force Regenerate – EWWW deactivated (=all OK) 6. Force Regenerate Plugin
   Result EWWW activated 7. Divi Gallery with activated EWWW (problem returned)
 * I hope you can help – I’m really at a loss what is happening here.
 *  Plugin Support [adamewww](https://wordpress.org/support/users/adamewww/)
 * (@adamewww)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/thumbnails-wrong-after-optimisation/#post-15419792)
 * I think at this point I’m probably going to suggest two things, the first being
   to try a different thumbnail regenerator, as that one hasn’t been updated in 
   5 years unfortunately. The second being, if that doesn’t work, to contact us 
   directly so we can look more deeply into it: [https://ewww.io/contact-us/](https://ewww.io/contact-us/)
 *  Thread Starter [kinghill](https://wordpress.org/support/users/kinghill/)
 * (@kinghill)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/thumbnails-wrong-after-optimisation/#post-15420834)
 * OK, thanks.
    It seems we are still miscommunicating. The other plugin is not 
   the issue. In fact, It corrects the problem that EWWW is causing.
 * But never mind, I contacted you directly on your website now. Hope they can shine
   a light on this…

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

The topic ‘Thumbnails wrong after optimisation’ is closed to new replies.

 * ![](https://ps.w.org/ewww-image-optimizer/assets/icon-256x256.png?rev=1582276)
 * [EWWW Image Optimizer](https://wordpress.org/plugins/ewww-image-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ewww-image-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ewww-image-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/ewww-image-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ewww-image-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ewww-image-optimizer/reviews/)

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [kinghill](https://wordpress.org/support/users/kinghill/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/thumbnails-wrong-after-optimisation/#post-15420834)
 * Status: resolved