]> _ Git - fluidbook_tools.git/commitdiff
wip #5991
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 5 Jun 2023 15:08:05 +0000 (17:08 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 5 Jun 2023 15:08:05 +0000 (17:08 +0200)
src/Jobs/ProcessFile.php

index a122f998bb170409602cfadea72c9a9dc615ff04..b636b0dc1277347abb3d85487402a1fa1813631b 100644 (file)
@@ -171,7 +171,7 @@ class ProcessFile {
             $q = ($this->getFormat() === 'jpg' && $this->getQuality() !== 85) ? '-' . $this->getQuality() : '';
             $prefix = $this->isWithTexts() ? 't' : 'h';
             if ($this->getResolution() === 'thumb') {
-                $res = $dir . 'p' . $this->getPage() . '.' . $this->getFormat();
+                $res = $dir . 'p' . $this->getPage() . $q . '.' . $this->getFormat();
             } else {
                 $res = $dir . $prefix . $this->getPage() . '-' . $this->getResolution() . $q . '.' . $this->getFormat();
             }