From 18ee6c893eba2261577ce1d0c5ed86a44bf67174 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Thu, 17 Mar 2022 09:52:19 +0000 Subject: [PATCH] wip #5162 --- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index 8f1653769..fb5f6c473 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -951,6 +951,8 @@ class wsHTML5Compiler $this->writeCartConfig(); $this->writeXMLArticles(); $this->log('XML Articles written'); + $this->writeSlider(); + $this->log('Slider written'); $linksCSS = $this->writeLinks(); $this->log('Links written'); $this->writeArticles(); @@ -989,6 +991,15 @@ class wsHTML5Compiler // touch($f); } + protected function writeSlider() + { + if ($this->book->parametres->sliderImage) { + $dim = CubeIT_Image::getimagesize($this->wdir . '/' . $this->book->parametres->sliderImage); + $this->config->sliderImageDimensions = $dim; + $this->copyLinkFile($this->book->parametres->sliderImage, 'data/interface'); + } + } + protected function writeStats() { global $core; -- 2.39.5