Skip to content

Commit

Permalink
dont show mimeicons
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Oct 27, 2014
1 parent 78242e4 commit 6376342
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/slideshow.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6376342

Please sign in to comment.