From: Robin Appelman Date: Tue, 20 May 2014 11:45:14 +0000 (+0200) Subject: Dont scale up the preview for publicly shared images X-Git-Tag: v7.0.0alpha2~222^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=157b139b577a6a89fa734ba4c0ab91e6e80286e4;p=nextcloud-server.git Dont scale up the preview for publicly shared images --- diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js index ce9a212499a..d825ee9de15 100644 --- a/apps/files_sharing/js/public.js +++ b/apps/files_sharing/js/public.js @@ -59,7 +59,8 @@ OCA.Sharing.PublicApp = { x: $(document).width() * window.devicePixelRatio, a: 'true', file: encodeURIComponent(this.initialDir + $('#filename').val()), - t: $('#sharingToken').val() + t: $('#sharingToken').val(), + scalingup: 0 }; var img = $('');