Getting More from Easy IO (ExactDN)

Easy IO has a couple "overrides", just like anything else in our EWWW Image Optimizer plugin. Some of these are available right in the settings already, but they are listed here for completeness. As with any override, make sure that you insert the option in your wp-config.php above where it says to stop editing. There will always be a line in your wp-config.php that says something like "That's all, stop editing!". Anything below that line will not work properly.

More Compression

Easy IO can use either Pixel Perfect or Premium compression to make sure your images are packed efficiently. Premium compression averages about 5x the savings of Pixel Perfect mode. Enable premium mode in the Easy IO settings, or add this line to your wp-config.php:

define( 'EXACTDN_LOSSY', true );

You can also change the default quality level by setting EXACTDN_LOSSY to a number from 60-90 instead of just "true".

WebP & AVIF Conversion

WebP and AVIF are modern image formats that let you gain additional savings on your images with minimal quality loss. You don't need to do anything to enable WebP support with Easy IO, it takes care of everything for you. On the other hand, AVIF is not enabled by default as the encoding process is significantly slower.

Both formats may be toggled for individual sites on your Easy IO Site dashboard. Additionally, if you disable Premium Compression in the plugin, WebP & AVIF conversion will be disabled, regardless of your settings at ewww.io.

Higher Quality Images

There are several settings which can be used to increase the quality of images delivered via Easy IO.

WebP Sharpness

You can enable slower, more accurate conversion mode for WebP, which is really noticeable on images with sharp edges, text, or lines:

define( 'EIO_WEBP_SHARP_YUV', true );

High-DPI

Many devices have High-DPI screens with 2x-3x the pixel density. You can enable High-DPI images in the plugin (Ludicrous Mode) for increased clarity, but do note that this comes at the cost of file size and speed. Images for 2x screens have 4x more pixels, and 3x screens require 9x more pixels. In any case, the High-DPI images will not exceed the resolution/dimensions of the original image uploaded.

define( 'EXACTDN_HIDPI', true );

Resize from Original

If you aren't satisfied with the quality of the "resizes" that WordPress generates, you can tell Easy IO to re-resize all images on-demand, so that the resized versions will use the superior GraphicsMagick library, and you can also adjust the image quality on the Advanced EWWW IO settings (don't go higher than 90 though, that's just silly).

This will also allow Easy IO to create any WebP/AVIF images from the original, instead of converting a copy of the image that has already been scaled.

To allow Easy IO to override existing resizes, you will simply need to add this line to your wp-config.php file:

define( 'EXACTDN_RESIZE_EXISTING', true );

Going Beyond Images (Include All Resources)

This option is enabled by default and tells Easy IO to rewrite URLs for all content in the wp-includes/ (core WP content) and wp-content/ (user-generated content) folders. If you need to disable it, you can toggle it in the Easy IO settings, or add the line below and set it to false in your wp-config.php:

define( 'EXACTDN_ALL_THE_THINGS', true );

If you need any assistance with these functions, just use the contact form below!

Still need help? Contact Us Contact Us