diff --git a/lib/Controller/APIv2Controller.php b/lib/Controller/APIv2Controller.php index a584ddba4..45467716a 100644 --- a/lib/Controller/APIv2Controller.php +++ b/lib/Controller/APIv2Controller.php @@ -410,6 +410,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);