Skip to Content

General Settings

The General tab covers your instance’s identity, upload limits, language, and a few site-wide toggles.

Site Configuration

SettingDefaultWhat it does
Site URL(empty)Used for absolute URLs in emails, OG previews, and webhook payloads. Set this to your public-facing origin (https://galleries.example.com).
Default Expiration (days)30Pre-fills the expiration field on the Create Event form. Range: 1–365.
Max File Size (MB)50Per-photo upload cap. Range: 1–500. Larger files are rejected before disk write.
Max Files per Upload500Per-batch cap. Range: 1–2000. Hard-capped at the MAX_ALLOWED_FILES_PER_UPLOAD build constant — UI value can be lower but never higher.
Allowed File Typesjpg,jpeg,png,gif,webpComma-separated extensions. Server validates against MIME plus extension. Add mp4,mov here when video uploads are enabled.

Feature Toggles

ToggleDefaultWhat it does
Enable analytics trackingonRecords gallery views, photo opens, downloads, unique visitors. Off = none of those metrics populate.
Allow self-registration for adminsoffExposes a public /admin/register form. Leave off in production.
Enable maintenance modeoffBlocks every non-admin request with a 503 + branded splash. Admin login still works so you can flip it back.
Use short gallery URLsoffNew share links use a random short ID instead of the event slug. Existing links keep working.

Maintenance mode is enforced by middleware (backend/src/middleware/maintenance.js) — if your reverse proxy caches the 503 response aggressively you may need to flush its cache after disabling.

Language

Sets the default language served to guests before they click the language toggle, and the language used for system emails when the event has no specific recipient locale.

Supported: en, de, nl, pt, ru (Brazilian Portuguese, Russian).

Date & Time Format

Pick the format used everywhere a date is rendered (admin tables, emails, gallery footer):

  • DD/MM/YYYY (European) — default
  • MM/DD/YYYY (US)
  • YYYY-MM-DD (ISO)
  • DD.MM.YYYY (German)

The locale code derived from this setting is also passed to date-fns for relative time strings (“3 days ago”).

Saving

Each subsection has its own Save button — partial saves are fine. Cached settings are invalidated automatically; no restart needed.

Last updated on