Skip to content
Snippets Groups Projects
Commit 157b139b authored by Robin Appelman's avatar Robin Appelman
Browse files

Dont scale up the preview for publicly shared images

parent 050df768
No related branches found
No related tags found
No related merge requests found
......@@ -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 = $('<img class="publicpreview">');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment