From: Vincent Vanwaelscappel Date: Wed, 17 Sep 2025 07:19:30 +0000 (+0200) Subject: wait #7743 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=866b629c35d9f6cd26442b270a8660f25e30aef6;p=fluidbook-toolbox.git wait #7743 @1 --- diff --git a/app/Fluidbook/Compiler/Images.php b/app/Fluidbook/Compiler/Images.php index c0dd24ccb..9a4376fc7 100644 --- a/app/Fluidbook/Compiler/Images.php +++ b/app/Fluidbook/Compiler/Images.php @@ -90,7 +90,7 @@ trait Images if ($thisimagesvg) { $source = $this->getFluidbook()->getFile($page, 'svg', 150, true, - in_array($page, $this->config->vectorPages),false, 'html'); + in_array($page, $this->config->vectorPages), false, 'html'); $filesToCopy[$source] = 'data/contents/p' . $page . '.svg'; } @@ -159,6 +159,7 @@ trait Images unlink($tmp); } + $this->vdir->copy($orig, 'nscover.jpg', true); $this->vdir->copy($cached, 'cover.jpg', true); }