Fix Office preview generation
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
ac045a2461
commit
86dccffff9
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ abstract class Office extends ProviderV2 {
|
|||
$pngPreview = null;
|
||||
try {
|
||||
list($dirname, , , $filename) = array_values(pathinfo($absPath));
|
||||
$pngPreview = $dirname . '/' . $filename . '.png';
|
||||
$pngPreview = $tmpDir . '/' . $filename . '.png';
|
||||
|
||||
$png = new \imagick($pngPreview . '[0]');
|
||||
$png->setImageFormat('jpg');
|
||||
|
|
Loading…
Reference in a new issue