]> _ Git - fluidbook-toolbox.git/commitdiff
wait #7743 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 17 Sep 2025 07:19:30 +0000 (09:19 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 17 Sep 2025 07:19:30 +0000 (09:19 +0200)
app/Fluidbook/Compiler/Images.php

index c0dd24ccbb4453d6c5abea69f24a6ae759b7b2d2..9a4376fc750a2a3355d0a1ffeacb5a607240ad7f 100644 (file)
@@ -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);
 
     }