summaryrefslogtreecommitdiffstats
path: root/lib/private/preview/image.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/preview/image.php')
-rw-r--r--lib/private/preview/image.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/private/preview/image.php b/lib/private/preview/image.php
index 511052caf2b..986a44b48fd 100644
--- a/lib/private/preview/image.php
+++ b/lib/private/preview/image.php
@@ -9,11 +9,16 @@
namespace OC\Preview;
class Image extends Provider {
-
+ /**
+ * {@inheritDoc}
+ */
public function getMimeType() {
return '/image\/(?!tiff$)(?!svg.*).*/';
}
+ /**
+ * {@inheritDoc}
+ */
public function getThumbnail($path, $maxX, $maxY, $scalingup, $fileview) {
//get fileinfo
$fileInfo = $fileview->getFileInfo($path);