> For the complete documentation index, see [llms.txt](https://docs.norrnext.com/norrcompetition/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.norrnext.com/norrcompetition/plugins/norrcompetition-image-moderation/plugin-configuration.md).

# Plugin Configuration

Configuration reference for NorrCompetition Image Moderation plugin.

Open **System > Plugins** and search for `Competition - Image Moderation` (`plg_competition_image_moderation`).

***

### 1. Basic Settings

| Parameter                     | Type                | Default | Description                                                                                                                                                                                                                           |
| ----------------------------- | ------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Moderate Image on Upload**  | Switcher (Yes / No) | `No`    | Evaluates images in real time during file upload. If Sightengine rejects the image based on your workflow rules, the upload is blocked and an error alert listing the triggered moderation categories is displayed to the contestant. |
| **Moderate Image on Save**    | Switcher (Yes / No) | `No`    | Checks images whenever an entry is saved. If the image is flagged, the entry is automatically placed in the **Unapproved** state (moderation queue) for manual inspection.                                                            |
| **Moderate on Site**          | Switcher (Yes / No) | `Yes`   | Enables image moderation checks for submissions and uploads initiated on the frontend.                                                                                                                                                |
| **Moderate in Administrator** | Switcher (Yes / No) | `No`    | Enables image moderation checks when administrators upload images in the backend.                                                                                                                                                     |
| **Debug**                     | Switcher (Yes / No) | `No`    | When enabled, detailed JSON request payloads and Sightengine API responses are logged to Joomla's log files (`administrator/logs/plg_competition_image_moderation.php`).                                                              |

***

### 2. Sightengine API Credentials

Configure your API credentials on the **Sightengine** tab:

| Field           | Type     | Required | Description                                                                  |
| --------------- | -------- | -------- | ---------------------------------------------------------------------------- |
| **API User**    | Text     | Yes      | Your numerical API User ID from the Sightengine dashboard.                   |
| **API Secret**  | Password | Yes      | Your private API Secret key from Sightengine.                                |
| **Workflow ID** | Text     | Yes      | The unique Workflow ID configured in Sightengine (e.g. `wfl_xxxxxxxxxxxxx`). |

{% hint style="info" %}
See [Sightengine Setup](/norrcompetition/plugins/norrcompetition-image-moderation/sightengine-setup.md) for step-by-step instructions on obtaining these credentials.
{% endhint %}

***

### 3. Updates & Download Key

Enter your **Download Key** in the plugin settings to enable one-click automated updates via the standard Joomla Update Manager.
