Skip to content
Snippets Groups Projects
Commit 9c9644e6 authored by Vincent Petry's avatar Vincent Petry
Browse files

Merge pull request #8647 from owncloud/public-image-scaling

Dont scale up the preview for publicly shared images
parents 050df768 157b139b
Branches
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