Merge pull request #8647 from owncloud/public-image-scaling
Dont scale up the preview for publicly shared images
This commit is contained in:
commit
9c9644e646
|
@ -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">');
|
||||
|
|
Loading…
Reference in New Issue