Skip to content

Commit 014da43

Browse files
Updated Frontend Image Compression
1 parent f4cb1a0 commit 014da43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/upload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ async function uploadPhoto() {
217217

218218
const options = {
219219
maxSizeMB: 1, // Maximum size 1MB
220-
maxWidthOrHeight: 2000,
220+
maxWidthOrHeight: 1500,
221221
useWebWorker: true,
222222
};
223223

0 commit comments

Comments
 (0)