From 637634298f3e202ea852177c3a1e23c5241c2649 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 27 Oct 2014 16:38:27 +0100 Subject: [PATCH] dont show mimeicons --- js/slideshow.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/slideshow.js b/js/slideshow.js index 898846fa4d..3d49c50b03 100644 --- a/js/slideshow.js +++ b/js/slideshow.js @@ -374,14 +374,14 @@ $(document).ready(function () { if (file.mimetype === 'image/svg+xml') { imageUrl = OCA.Files.Files.getDownloadUrl(file.name, dir); } else { - var imageUrl = OC.generateUrl('/core/preview.png?file={file}&x={x}&y={y}&a=true&scalingup=0', { + var imageUrl = OC.generateUrl('/core/preview.png?file={file}&x={x}&y={y}&a=true&scalingup=0&forceIcon=0', { x: width, y: height, file: encodeURIComponent(dir + file.name) }); if (!user) { imageUrl = OC.generateUrl( - '/apps/files_sharing/publicpreview?file={file}&x={x}&y={y}&a=true&t={t}&scalingup=0', { + '/apps/files_sharing/publicpreview?file={file}&x={x}&y={y}&a=true&t={t}&scalingup=0&forceIcon=0', { file: encodeURIComponent(dir + file.name), x: width, y: height,