Hi again @brightonbeerblog
3 Issues try to explain :
1)The post type filter works as follows: when uploading from within a post editor, the plugin detects the post type automatically. However, when uploading directly from Media → Add New (or via batch import), there is no post context — so the plugin falls back to post type “attachment”. If “Media” is not checked in your Allowed Post Types list, those uploads will be skipped. Simply tick the “Media (attachment)” checkbox in the plugin settings and it will process all direct media library uploads too.
—–
2) The Disable toggle works by hooking into WordPress’s standard upload pipeline. When you disable the plugin this way, it stops processing any image uploaded through the WordPress interface (media library, post editor, etc.).
However, batch import tools like WP All Import, WP CLI, or any script that uses wp_insert_attachment() directly bypass that pipeline entirely — so the plugin never gets called, regardless of the disable toggle state.
This is a architectural limitation rather than a bug, and there is no reliable way to intercept those imports from within the plugin itself.
I’ve added a warning note directly under the Disable setting in the next release to make this clear. For your use case — batch importing pre-processed images — the correct approach is to fully deactivate the plugin from the Plugins menu while importing, then reactivate it afterwards.
—-
3)The plugin is designed to only compress JPG and PNG files, but the mime type check was happening too late in the process. When “Keep Original” or a WebP output mode was active, the file copy and media library registration could be triggered before the format check, causing unwanted duplicates for WebP and other unsupported formats.
This will be fixed in version 1.8.5. The mime type check will now happen at the very beginning of the process, before any file operation, so WebP uploads will be skipped immediately with no side effects.
Sorry for the inconvenience and thanks again for the detailed report!