diff --git a/templates/gspecies_compose.yml.j2 b/templates/gspecies_compose.yml.j2
index 1b1e8f8f692ff0d745dc27448c196bd3dd1ba617..b8c9e1be931ef383ff05ca3a3bb709a0561fcbcd 100644
--- a/templates/gspecies_compose.yml.j2
+++ b/templates/gspecies_compose.yml.j2
@@ -42,7 +42,7 @@ services:
             - ./banner.png:/var/www/html/banner.png:ro
             {% endif %}
             #- /groups/XXX/:/groups/XXX/:ro  # We do this when we have symlinks in src_data pointing to /groups/XXX/...
-            {% if 'picture_path' is defined %}
+            {% if 'picture_path' is defined and 'picture_path' != ''  %}
                 {% if 'png' in picture_path %}
             - ./species.png:/var/www/html/species.png:ro
                 {% endif %}