changeset 254:d536c57fa952

Fix sub-gallery thumbnail images after previous changes.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 12 Dec 2018 14:50:56 +0200
parents 5b41efcec87d
children d0bcc6c7fc66
files mgallery.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mgallery.php	Wed Dec 12 13:34:24 2018 +0200
+++ b/mgallery.php	Wed Dec 12 14:50:56 2018 +0200
@@ -322,7 +322,7 @@
         $ptmp[] = $galTNPath;
         $ptmp[] = $curr["image"];
 
-        $atmp = $galImageURL.implode("/", mgCleanPathArray(TRUE, 0, count($ptmp), $ptmp));
+        $atmp = $galImageURL.implode("/", mgCleanPathArray(TRUE, 0, count($ptmp), $ptmp)).".".$galTNFormat;
       }
       else
       // No album cover, use default