]> _ Git - cubeextranet.git/commitdiff
done #1363 @0:10
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 26 Apr 2017 10:14:29 +0000 (10:14 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Wed, 26 Apr 2017 10:14:29 +0000 (10:14 +0000)
inc/ws/Util/html5/class.ws.html5.links.php

index 12c4b8aec9263ddabac32526142cac4e86c8ac27..adc0138f7c978ae6a32f65b0027db1a2a4552147 100644 (file)
@@ -1124,7 +1124,7 @@ class zoomLink extends normalLink {
                CubeIT_CommandLine_Poppler::extractArea($pdfpath,
                        $p['document_page'],
                        array('x' => $this->left, 'y' => $this->top, 'width' => $this->width, 'height' => $this->height),
-                       $left);
+                       $left, array(), WS_CACHE . '/zoomarea/');
 
                $bookwidth = $this->compiler->book->parametres->width;
 
@@ -1136,7 +1136,7 @@ class zoomLink extends normalLink {
                        CubeIT_CommandLine_Poppler::extractArea($pdfpath,
                                $p['document_page'],
                                array('x' => 0, 'y' => $this->top, 'width' => $diff, 'height' => $this->height),
-                               $right);
+                               $right, array(), WS_CACHE . '/zoomarea/');
 
                        $both = CubeIT_Files::tempnam() . '.png';
                        CubeIT_CommandLine_Imagemagick::append(array($left . '.png', $right . '.png'), $both, 'horizontal');