diff --git a/lib/Controller/APIv2Controller.php b/lib/Controller/APIv2Controller.php index dd2dbad5a..dbb9101b7 100644 --- a/lib/Controller/APIv2Controller.php +++ b/lib/Controller/APIv2Controller.php @@ -413,6 +413,7 @@ protected function getPreview(string $owner, int $fileId, string $filePath): arr 'y' => 250, 'fileId' => $fileId, 'c' => $fileInfo->getEtag(), + 'mimeFallback' => 1, ]; $preview['source'] = $this->urlGenerator->linkToRouteAbsolute('core.Preview.getPreviewByFileId', $params);