diff --git a/webinterface.py b/webinterface.py
index 4b796b5d..97103985 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -1902,6 +1902,15 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
if attach['url'].endswith(extension):
if attachmentCtr>0:
attachmentStr+='
'
+ if boxName=='tlmedia':
+ galleryStr+= \
+ '