Files
Adminator 1e51ef7def Nachtrag: alle bisher untracked Ordner + hängende Änderungen mit-committen
- Konzept/, didaktik_geografie/, didaktik_simulation/, v2-modules/, v2-platform/
- 12 code-workspace-Files
- STATUS-*.md
- viele M/D/R-Änderungen an bereits getrackten Files
- .gitignore verstärkt: **/.humaninput/, **/secret_keys.txt

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-08 02:27:02 +02:00

34 lines
1.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Glossar-Bilder-Pool — Provenienz
160+ Glossar-Bilder aus V1 (siehe `App/assets/img/glossar/`).
## Migration aus V1
V1-Pfad: `App/assets/img/glossar/<slug>.png` und `<slug>-schema.svg`.
**Status**: noch nicht migriert. Geplant in Welle 1 der Modul-
Migration (Glossar-Instanz übernimmt — siehe ihr Briefing).
Optionen für die Migration:
- **A) Kopie**: Bilder werden in `shared/glossar/` kopiert. Doppelter
Platzbedarf, aber V1 und V2 unabhängig.
- **B) Symlink** (Unix): `shared/glossar` symlinkt auf `App/assets/img/glossar`.
Spart Platz, aber Windows-Probleme + Deployment-Komplexität.
- **C) Apache-Alias**: V2 mappt `/v2beta/assets/shared/glossar/` auf
V1-Pfad. Minimal-invasiv, V1-Glossar bleibt Quelle der Wahrheit
bis zum Stable-Switch.
**Empfehlung**: Option C bis V2 stable, dann Kopie beim Switch.
## DB-Anbindung
V1: `glossar`-Tabelle hat `image_path`-Spalte. V2 liest dieselbe
Tabelle über `/v2beta/api/glossary/<slug>` und konstruiert die URL.
Bildpfad wird in der API-Response auf den V2-Standort umgemappt.
## Konvention
- `<slug>.png` — Hauptbild, 1792×1024
- `<slug>-schema.svg` — optional: zusätzliche Schema-Grafik
- Beide im GeoGraSim-Bildstil