mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Use the same url from thumbails that Photos.
This commit is contained in:
@@ -65,11 +65,7 @@ class FileService {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->urlGenerator->linkToRouteAbsolute('core.Preview.getPreview', [
|
return $this->urlGenerator->getAbsoluteURL('core/preview?fileId=' . $fileId .'&x=' . $sideSize . '&y=' . $sideSize . '&a=false&v=' . $file->getETag());
|
||||||
'file' => $userFolder->getRelativePath($file->getPath()),
|
|
||||||
'x' => $sideSize,
|
|
||||||
'y' => $sideSize
|
|
||||||
]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user