Fix Office preview generation
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
f6941a831c
commit
3d02121db3
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,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