diff --git a/public/image.php b/public/image.php
new file mode 100644
index 0000000..20a5c2a
--- /dev/null
+++ b/public/image.php
@@ -0,0 +1,46 @@
+ 'image/png',
+ 'jpg' => 'image/jpeg',
+ 'jpeg' => 'image/jpeg',
+ 'gif' => 'image/gif',
+ 'svg' => 'image/svg+xml',
+];
+
+$mimeType = $mimeTypes[$extension] ?? 'application/octet-stream';
+
+header('Content-Type: ' . $mimeType);
+readfile($filePath);
diff --git a/src/Views/home.php b/src/Views/home.php
index 077ddbf..7652775 100644
--- a/src/Views/home.php
+++ b/src/Views/home.php
@@ -30,10 +30,10 @@ require __DIR__ . '/partials/header.php';
Debug-Informationen
Versuch, das Joker-Icon zu laden:
- - Pfad im
<img>-Tag: /icons/joker.png
+ - Pfad im
<img>-Tag: /image.php?file=icons/joker.png
- Erwarteter physischer Speicherort:
public/icons/joker.png
- - Test-Link: Öffne Icon in neuem Tab
- - Test-Anzeige:

+ - Test-Link: Öffne Icon in neuem Tab
+ - Test-Anzeige:

diff --git a/src/Views/ranking.php b/src/Views/ranking.php
index 7697da9..bfd24d8 100644
--- a/src/Views/ranking.php
+++ b/src/Views/ranking.php
@@ -32,7 +32,7 @@ if (!isset($currentSeason) || !isset($ranking) || !isset($games) || !isset($allR
🏆 Tagessieger
-

Joker gesetzt
+

Joker gesetzt
@@ -78,7 +78,7 @@ if (!isset($currentSeason) || !isset($ranking) || !isset($games) || !isset($allR
-
+
|
diff --git a/src/Views/round.php b/src/Views/round.php
index 874d30f..02dfcf8 100644
--- a/src/Views/round.php
+++ b/src/Views/round.php
@@ -68,7 +68,7 @@ require __DIR__ . '/partials/header.php';
-
+
|