1e51ef7def
- 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>
34 lines
1.2 KiB
Markdown
34 lines
1.2 KiB
Markdown
# 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
|