App settings
The App settings panel controls the global properties of your application. Open it from Config → App settings (the first panel in the sidebar).

Fields
| Field | Description |
|---|---|
| Application name | Short identifier used internally (read-only after creation) |
| Application label | Human-readable display name shown in the navigation header |
| Definition | Brief description of the application's purpose |
| Language | Default UI language (en or it) |
| Status | on = fully active; off = read-only for non-admins; freeze = no writes at all |
| DB engine | sqlite, mysql, or pgsql (set at creation, not changeable here) |
| Max image size | If set, uploaded images are automatically downscaled to fit within this pixel bound |
Status values
on— normal operation; all users with the right privilege can read and write.off— only admins and super-admins can write; other users see data in read-only mode.freeze— the entire application is read-only for everyone, including admins.
Use freeze before performing a backup or migration.
Images
Beyond Max image size (in the Fields table above), an Images section lets you optionally standardize the format of every uploaded image:
| Field | Description |
|---|---|
| Convert format on upload | Off by default. When on, every uploaded raster image is re-encoded to the target format below, at the given quality and DPI. |
| Target format | WebP (recommended — better compression, keeps transparency) or JPG (for maximum compatibility; transparent areas are flattened onto a white background). |
| Quality | 1–100, default 85. Only used when conversion is on. |
| DPI | Default 72 (the standard for on-screen display). Only used when conversion is on. |
Animated GIFs are never converted — collapsing them to a single-frame format would destroy the animation — but they are still downscaled if they exceed Max image size.
EXIF/GPS metadata is not preserved
Whenever an image is resized or converted, the metadata embedded by cameras and phones (including GPS coordinates) is lost — this already applies to the plain Max image size downscale, not only to format conversion. If you need to keep this data (e.g. for provenance), disable both settings for that upload, or check the location before uploading.
Both settings apply only to new uploads and file replacements, never retroactively to files already stored.
Derived images (presets)
Below the settings above, Derived images (presets) defines smaller versions of your images (thumbnails, previews). Each preset has a name (lowercase letters, digits, _ and -, up to 32 characters, e.g. thumb or 200x200), a width and/or a height in pixels (16–10000 each), a fit, a format (WebP or JPG) and a quality. Up to 20 presets can be defined.
| Fit | Result |
|---|---|
| Cover (default when width and height are both given) | Cropped, centred, to exactly width × height. Small images are enlarged to fill it. Needs both sides. |
| Inside | The whole image, proportions kept, within the given sides; never enlarged. With only a width (or only a height) the other side is free. |
Every preset also says who may be sent it and whether it is served:
| Setting | Meaning |
|---|---|
| Who may be sent it: whoever may read the original (default) | The version goes only to someone signed in (token, API key, or the browser session) who may read the file. |
| Who may be sent it: anyone, for files marked public | The version goes to anyone, without login, but only for the files you have marked public. This is the only way anything leaves the application anonymously: an original is never anonymous, and a public preset sends nothing for a file that is not marked public. Such a preset carries a warning tag in this screen. |
| Served | Switch a preset off to stop serving it (it answers 404 to everyone) without deleting it: its definition and its cache are kept. |
Switching a preset on or off, or changing who may be sent it, keeps its cached versions (the images are the same); changing its size, fit, format, quality or watermark deletes them.
Use Cover for a grid of identical tiles (a 200x200 square thumbnail), Inside when the image must not be cut. See Files for how they are served.
The preset thumb (200 × 200 Inside, WebP) always exists, even if you define nothing, and is always listed here: the file gallery, the Files table (table and cards) and the record view use it for their thumbnails, so it cannot be removed or switched off. It follows the original by default; define it here to change its size, fit or who may be sent it (a public thumb is what a website embedding your thumbnails needs). Applications upgraded to this version keep what they had: their presets, thumb included, are made public and their files public, so nothing published disappears; review them here. Saving a changed or removed preset deletes the cached versions generated from it; they are rebuilt on the next request.
Each saved preset has a Clear cache button: it deletes all the cached versions of that preset at once (after a confirmation) without changing anything else, and they are rebuilt on demand. Use it when something outside the preset's own settings changed what the versions should look like. Delete asks for a confirmation too, and takes effect only when you click Save.
Watermark
Each preset can carry a text watermark, drawn on the derived versions only (the original file is never changed). Turn on Watermark in the preset's row and set:
| Setting | Meaning |
|---|---|
| Text | Up to 200 characters. is replaced by the file's attribution, e.g. © ; plain text is fine too. |
| Position | One of nine places on the image (corners, edges, centre). |
| Text colour, Background box | The box behind the text is optional. |
| Opacity | 0–100, applied to text and box. |
| Font size, Margin | Percent of the image's shorter side. Long text on a small image is shrunk to fit. |
If the text uses and a file has no attribution, that file is served without watermark. The font is bundled (DejaVu Sans); custom fonts are not supported. Changing the watermark or a file's attribution regenerates the versions on the next request.
A watermark does not protect the original
If the original file is public (and it is: see Files), anyone can still download it without the text. Use the watermark to credit images, not to protect them.
Access
| Field | Description |
|---|---|
| Allow self-registration | When on, anyone with the login link can create their own account via Create account on the login screen (see Login & authentication → Self-registration). Off by default. |
Self-registered accounts start at the Pending privilege level — no access to anything until an administrator reviews them in Users & privileges and raises the privilege.
This toggle is disabled, with an explanatory note, when the instance hasn't configured email sending at all (RESEND_API_KEY — see Deploy → environment variables): turning it on wouldn't do anything without a way to actually notify the new user and the admins. See Email (Resend) for how to set that up.
OAuth2 SSO
Lets a super-admin configure "Sign in with…" buttons on the login page for Google and/or ORCID, without touching config.json by hand. For each provider you get:
- Client ID / Client secret — from that provider's own developer console.
- Redirect URI (read-only) — the exact callback URL to paste into the provider's console for this app, computed from the current host.
A provider's button only appears to users once both fields are filled in — an Enabled badge confirms it's active. See OAuth2 / SSO for the full Google/ORCID setup walkthrough and how the login flow itself works.
Appearance
The Appearance section lets an administrator pick the application's primary colour. The change takes effect immediately (live preview) and is applied to every user the next time they load the app.
Eight palette options are available — all tested in both light and dark mode:
| Swatch | Name |
|---|---|
| 🟣 | Indigo (default) |
| 🔵 | Blue |
| 🟣 | Violet |
| 🟢 | Emerald |
| 🩵 | Teal |
| 🟡 | Amber |
| 🌹 | Rose |
| ⬜ | Slate |
A ninth, round colour-picker control opens the browser/OS colour picker for any custom colour, and the hex value underneath it can also be typed or pasted directly (#rrggbb) — useful for matching an institution's own brand colour exactly.
The selection is stored in bdus_cfg_app.color (added by migration M025) as either one of the eight names above or a raw #rrggbb string, and is read at login time from GET /api/info/app.
Saving
Click Save to apply changes. A toast notification confirms success or shows the error detail if validation fails.
While you have unsaved changes, Unsaved changes appears next to the buttons. Cancel discards them (after a confirmation) and goes back to the saved settings. Leaving the page, switching to another settings section, reloading or closing the tab with unsaved changes asks for confirmation first.