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 Conversion

WebP is a newer image format from Google that lets 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. BUT, if you disable Premium Compression, you also disable WebP Conversion.

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 );

Resizing for Better Quality

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). 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