The DMN Image Compression plugin automatically compresses and optimizes images uploaded to your WordPress site using a self-hosted compression gateway. It replaces large or wide images with compressed versions to reduce file sizes and improve site performance, while keeping the original image URLs intact.
Images larger than the configured minimum size or wider than the configured maximum width are sent to the compression gateway for resizing and quality adjustment. The plugin also supports batch processing of existing images and automatic compression on new uploads. All actions are logged to the database (admin logs) and exposed on the plugin settings page for monitoring.
External services
This plugin connects to an external compression gateway to perform image resizing and compression. The gateway is hosted at: https://dmndev.co.za/apps/dmnic/dmn_ic_request.php
What the service is and what it is used for:
– The gateway accepts an image URL and returns a compressed image. The plugin uses this service to reduce image file sizes and optionally resize images to the configured maximum width.
What data is sent and when:
– Each time an image is processed the plugin makes an HTTP GET request to the gateway. The following query parameters are sent:
– url: the publicly accessible URL of the image being compressed
– domain: the host/domain of the WordPress site requesting compression
– q: integer compression quality (1-100)
– w: integer target width in pixels
Why this data is sent:
– The gateway needs the image URL to download the image to compress and the domain + parameters to tailor the output (quality and width) for the request.
Links:
– Gateway domain: https://dmndev.co.za/






