diff --git a/arbre.php b/arbre.php
index bd85f0c..752cb96 100644
--- a/arbre.php
+++ b/arbre.php
@@ -131,7 +131,9 @@ function generateTree($path, $currentPath) {
$output .= '🖼️';
}
$output .= '';
- $output .= '';
+ if (!hasImages($fullPath)) {
+ $output .= '';
+ }
if ($fullPath !== './liste_albums') {
$output .= '';
}