diff options
Diffstat (limited to 'web_src/js/index.js')
-rw-r--r-- | web_src/js/index.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/web_src/js/index.js b/web_src/js/index.js index d5fe53eef3..a191af6df1 100644 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -999,6 +999,9 @@ async function initRepository() { dictFileTooBig: $dropzone.data('file-too-big'), dictRemoveFile: $dropzone.data('remove-file'), timeout: 0, + thumbnailMethod: 'contain', + thumbnailWidth: 480, + thumbnailHeight: 480, init() { this.on('success', (file, data) => { filenameDict[file.name] = { @@ -2624,6 +2627,9 @@ $(document).ready(async () => { dictFileTooBig: $dropzone.data('file-too-big'), dictRemoveFile: $dropzone.data('remove-file'), timeout: 0, + thumbnailMethod: 'contain', + thumbnailWidth: 480, + thumbnailHeight: 480, init() { this.on('success', (file, data) => { filenameDict[file.name] = data.uuid; |