Understanding and Fixing EWWW Image Optimizer Resize Detection
Content
If you've noticed a strange blue dotted border appearing around images on your WordPress site, you're not alone. This is a common question from users of the EWWW Image Optimizer plugin. This article explains what this feature is, why it appears, and how to control it.
What is the Blue Dotted Border?
The blue dotted border is not a bug or an error. It is a feature of the EWWW Image Optimizer plugin called Resize Detection. This visual indicator is designed to help site administrators identify images that are being displayed at a size smaller than their original dimensions. This is important for performance, as serving overly large images that are then scaled down by the browser wastes bandwidth and slows down your site.
Why Do I See It?
According to the plugin's design, the Resize Detection border should only be visible to users with administrator-level privileges. This is to prevent confusing regular visitors or other users on your site. However, as noted in some user reports, there have been instances where this visibility control did not work as intended, and the border was visible to logged-in users who were not administrators. The EWWW Image Optimizer team has acknowledged this as a bug and has indicated a fix is planned for a future release.
How to Enable or Disable Resize Detection
You can easily control this feature from your WordPress dashboard:
- Navigate to Settings → EWWW Image Optimizer.
- Click on the Resize tab.
- Look for the option labeled Resize Detection.
- Check or uncheck the box to enable or disable the feature.
- Click Save Changes.
A Special Note on SVG Images
It's important to know that Resize Detection can sometimes give a false alarm for SVG images. Because SVGs are vector-based and can scale infinitely without losing quality, the concept of being "too small" doesn't apply. The plugin may still highlight them if they are rendered in an HTML <img> tag at a size smaller than their viewport. The EWWW Image Optimizer team is aware of this behavior and is investigating ways to skip size detection for SVG files.
Summary
The blue dotted border is a helpful troubleshooting tool, not a error. If you find it distracting, you can disable it in the plugin's Resize settings. If the border is visible to non-admin users, this is a known issue that is scheduled to be fixed in an upcoming update.
Related Support Threads Support
-
medium_large – 768 x 9999 not createdhttps://wordpress.org/support/topic/medium_large-768-x-9999-not-created/
-
Properly size imageshttps://wordpress.org/support/topic/properly-size-images-11/
-
Plugin is resizing images to old size settinghttps://wordpress.org/support/topic/plugin-is-resizing-images-to-old-size-setting/
-
Ewww resizing FULL image sizehttps://wordpress.org/support/topic/ewww-resizing-full-image-size/
-
GTMetrix tells me to “Properly size images”https://wordpress.org/support/topic/gtmetrix-tells-me-to-properly-size-images/
-
BuddyPress + MediaPress, problems with the Image Resize Settingshttps://wordpress.org/support/topic/buddypress-mediapress-problems-with-the-image-resize-settings/
-
Http Error in the Resizing Procress of PNG imageshttps://wordpress.org/support/topic/http-error-in-the-resizing-procress-of-png-images/
-
Twenty Fourteen featured image no longer responsive after optimizinghttps://wordpress.org/support/topic/twenty-fourteen-featured-image-no-longer-responsive-after-optimizing/
-
EWWIO adds dimensons to SVG image in webcodehttps://wordpress.org/support/topic/ewwio-adds-dimensons-to-svg-image-in-webcode/
-
I would like to generate different image size via php.https://wordpress.org/support/topic/i-would-like-to-generate-different-image-size-via-php-2/
-
Dotted blue border around reduced size imageshttps://wordpress.org/support/topic/dotted-blue-border-around-reduced-size-images/
-
Disabling resizing for administratorshttps://wordpress.org/support/topic/disabling-resizing-for-administrators/
-
setting a new max size for existing -scaled images and optimisinghttps://wordpress.org/support/topic/setting-a-new-max-size-for-existing-scaled-images-and-optimising/
-
The problem with automatic scalinghttps://wordpress.org/support/topic/the-problem-with-automatic-scaling/
-
make Max Image Dimensions opt-inhttps://wordpress.org/support/topic/make-max-image-dimensions-opt-in/
-
Bug: resize detection is visible for other (custom) usershttps://wordpress.org/support/topic/bug-resize-detection-is-visible-for-other-custom-users/
-
Blurry Images Helphttps://wordpress.org/support/topic/blurry-images-help/
-
Srcset conflict after Resizinghttps://wordpress.org/support/topic/srcset-conflict-after-resizing/
-
Resize Detection and SVGhttps://wordpress.org/support/topic/resize-detection-and-svg/
-
How to reduce the number of options in srcset?https://wordpress.org/support/topic/how-to-reduce-the-number-of-options-in-srcset/
-
Images bigger instead of smallerhttps://wordpress.org/support/topic/images-bigger-instead-of-smaller/
-
Help with very poor scale quality on Media Libraryhttps://wordpress.org/support/topic/help-with-very-poor-scale-quality-on-media-library/
-
.png image quality on resizehttps://wordpress.org/support/topic/png-image-quality-on-resize/
-
Strange resize outputhttps://wordpress.org/support/topic/strange-resize-output/
-
Serving scaled imageshttps://wordpress.org/support/topic/serving-scaled-images-4/
-
“Forced to wrong size” – How To Fix?https://wordpress.org/support/topic/forced-to-wrong-size-how-to-fix/
-
Old photo sizeshttps://wordpress.org/support/topic/old-photo-sizes/
-
Resize Media Images not workinghttps://wordpress.org/support/topic/resize-media-images-not-working/
-
Different resize for customize, media and post uploaderhttps://wordpress.org/support/topic/different-resize-for-customize-media-and-post-uploader/
-
ewww is change the rendered image sizehttps://wordpress.org/support/topic/ewww-is-change-the-rendered-image-size/
-
resize sizehttps://wordpress.org/support/topic/resize-size/
-
Serving smaller images for smaller screenshttps://wordpress.org/support/topic/serving-smaller-images-for-smaller-screens/
-
Increase Canvas Sizehttps://wordpress.org/support/topic/increase-canvas-size/
-
Resize Imageshttps://wordpress.org/support/topic/resize-images-16/