Why EWWW Image Optimizer Might Not Resize Your Media Library Images (And How to Fix It)
Content
If you've configured EWWW Image Optimizer to resize your images but find it's not working on your existing Media Library files, you're not alone. This is a common point of confusion. This guide will explain why it happens and walk you through the most reliable solutions.
Why Your Existing Images Aren't Being Resized
Based on community reports, the most frequent reason for this issue is a misunderstanding of the plugin's workflow. The "Resize Media Images" and "Resize Existing Images" settings in the Advanced tab are primarily designed to work during the Bulk Optimize process. Clicking "Optimize Now" on a single image in the Media Library may not trigger a resize if the image is already marked as "optimized" in the database.
Other potential causes include:
- Javascript Conflicts: Another plugin or theme can interfere with the Bulk Optimizer, preventing it from running.
- Stale Settings: Outdated configuration values from a previous version can override your new resize dimensions.
- Plugin Conflicts: Certain media management or gallery plugins can alter how images are handled.
- External Storage: Using an offload plugin (like WP Offload Media) with the "Remove Files From Server" option can sometimes cause issues if the plugin cannot retrieve the original file for resizing.
How to Fix It: Resize Your Existing Images
Follow these steps to successfully resize your existing image library.
Solution 1: Run the Bulk Optimizer
The most effective method is to use the dedicated bulk tool. Navigate to Media -> Bulk Optimize and start the "Optimize Media Library" process. This will apply your configured resize dimensions to all unoptimized images and their thumbnails.
Troubleshooting Tip: If the bulk optimizer page refreshes without starting, check your browser's console for Javascript errors (right-click -> Inspect -> Console). This indicates a plugin conflict. Try disabling other plugins temporarily to identify the culprit.
Solution 2: Check for Conflicting Max Dimensions
If the bulk optimizer runs but doesn't resize, old settings might be the cause. You can check this by looking at your site's debug information. Look for lines like max media dimensions: 960 x 0. If the values are not zero and don't match your intended dimensions, these old settings are being applied. These values would need to be cleared from the database.
Solution 3: Verify External Storage Settings
If you use WP Offload Media or a similar plugin, ensure the "Remove Files From Server" option is disabled if you plan to run a bulk resize. The plugin often needs local access to the original file to create a new, resized version. After optimization is complete, the file can be offloaded again.
Important Limitations to Know
- NextGEN Galleries: The resizing feature does not apply to images in NextGEN Galleries, as they operate outside the standard Media Library. Resizing is only for Media Library images.
- Non-Media Library Files: Images in folders outside the Media Library (even those added in the "Folders to Optimize" setting) cannot be resized, only compressed.
By understanding this workflow and using the Bulk Optimize tool, you should be able to successfully resize your entire image library and achieve significant savings on your website's load times.
Related Support Threads Support
-
ORIGINAL FILE SIZE DOESNT APPEAR CHANGED IN MEDIA LIBRAYhttps://wordpress.org/support/topic/original-file-size-doesnt-appear-changed-in-media-libray/
-
Optimizing images already in S3https://wordpress.org/support/topic/optimizing-images-already-in-s3/
-
Optimized Images not in Media Libraryhttps://wordpress.org/support/topic/optimized-images-not-in-media-library/
-
Optimize Media Libraryhttps://wordpress.org/support/topic/optimize-media-library/
-
Existing images in Library are not resizing more questionshttps://wordpress.org/support/topic/existing-images-in-library-are-not-resizing-more-questions/
-
Not Bulk Resizinghttps://wordpress.org/support/topic/not-bulk-resizing/
-
Images over 5MB don’t get processedhttps://wordpress.org/support/topic/images-over-5mb-dont-get-processed/
-
Images Missing From Media Library – plus Crunchinghttps://wordpress.org/support/topic/images-missing-from-media-library-plus-crunching/
-
Is possible resize existing nggalery images in NextGen Galleries?https://wordpress.org/support/topic/is-possible-resize-existing-nggalery-images-in-nextgen-galleries/
-
filterhttps://wordpress.org/support/topic/filter-18/
-
Need to re-optimize to update files on S3https://wordpress.org/support/topic/need-to-re-optimize-to-update-files-on-s3/
-
ewww with media library + pro pluginhttps://wordpress.org/support/topic/ewww-with-media-library-pro-plugin/
-
optimize images in folder other than media libraryhttps://wordpress.org/support/topic/optimize-images-in-folder-other-than-media-library/
-
Bulk resize selected imageshttps://wordpress.org/support/topic/bulk-resize-selected-images/
-
How to resize a single imagehttps://wordpress.org/support/topic/how-to-resize-a-single-image/
-
User roles bulk optimizehttps://wordpress.org/support/topic/user-roles-bulk-optimize/
-
Hide media library column?https://wordpress.org/support/topic/hide-media-library-column/
-
Media Library will be scaled to 1920 x 1920??https://wordpress.org/support/topic/media-library-will-be-scaled-to-1920-x-1920/
-
Not compressing all images in folderhttps://wordpress.org/support/topic/not-compressing-all-images-in-folder/
-
Media manager displays image’sthumbnails in iPad but not in desktophttps://wordpress.org/support/topic/media-manager-displays-imagesthumbnails-in-ipad-but-not-in-desktop/
-
When you optimize old images in the library, do you need to replace them?https://wordpress.org/support/topic/when-you-optimize-old-images-in-the-library-do-you-need-to-replace-them/
-
Re-Sizing files in uploaded to designated directoryhttps://wordpress.org/support/topic/re-sizing-files-in-uploaded-to-designated-directory/
-
bulk problem on subfoldershttps://wordpress.org/support/topic/bulk-problem-on-subfolders/
-
EWWW options in Media Library not availablehttps://wordpress.org/support/topic/ewww-options-in-media-library-not-available/
-
WP CLI commandshttps://wordpress.org/support/topic/wp-cli-commands-4/
-
optimize images not on media libraryhttps://wordpress.org/support/topic/optimize-images-not-on-media-library/
-
Variations of Imageshttps://wordpress.org/support/topic/variations-of-images/
-
Free compress imageshttps://wordpress.org/support/topic/free-compress-images/
-
Bulk Optimizer not finding images in media libraryhttps://wordpress.org/support/topic/bulk-optimizer-not-finding-images-in-media-library/