Add Art section: upload named images, gallery, delete

- Artwork entity (name, stored filename, original name, mime, size, date)
- /art gallery grid; /art/upload (name + image file, PNG/JPEG/GIF/WebP,
  20M cap); /art/{id}/file streams the image behind auth; /art/{id}/delete
  (CSRF) removes row + file
- files stored under var/uploads/art/ (git-ignored, on the php_var volume
  in Docker), served through a controller so they stay login-gated
- "Art" nav item

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Frank
2026-09-06 16:41:33 +02:00
co-authored by Claude Sonnet 5
parent 1f4b5290b2
commit ed9390319b
8 changed files with 380 additions and 0 deletions
+1
View File
@@ -30,6 +30,7 @@
{ route: 'app_characters', label: 'Characters' },
{ route: 'app_npcs', label: "NPC's" },
{ route: 'app_enemies', label: 'Enemies' },
{ route: 'app_art', label: 'Art' },
{ route: 'app_storyline', label: 'Storyline' },
] %}
<ul class="navbar-nav me-auto">