From c859ae434878ec9dc46925e7f68cf70877f7dfe0 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Fri, 4 Oct 2019 14:47:51 +0000 Subject: [PATCH] fix #3110 --- inc/ws/Util/html5/master/class.ws.html5.links.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inc/ws/Util/html5/master/class.ws.html5.links.php b/inc/ws/Util/html5/master/class.ws.html5.links.php index e49b0d48a..c36b520bd 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.links.php +++ b/inc/ws/Util/html5/master/class.ws.html5.links.php @@ -1938,6 +1938,7 @@ class slideshowLink extends normalLink $slides = []; // If the zip file contained a slideshow.xml file, use that for fetching images and their captions + $thumbnails = true; if (file_exists($XML_path)) { $slideshow_XML = simplexml_load_file($XML_path); @@ -1947,6 +1948,7 @@ class slideshowLink extends normalLink $slides[] = ['caption' => $img->_caption, 'path' => $full_path]; } + $thumbnails = $slideshowData->_thumbnails !== 'false' && $slideshowData->_thumbnails; } else { // Or by default, just get all the images that were in the zip file... $afiles = CubeIT_Files::getRecursiveDirectoryIterator($this->path_absolute); @@ -1976,7 +1978,7 @@ class slideshowLink extends normalLink $res .= ''; // .fb-slideshow-slide } - $res = '
' . $res . '
'; + $res = '
' . $res . '
'; $res .= '