Skip to content

Commit

Permalink
fix: maxWidthOrHeight on imageCompression for profile and cover
Browse files Browse the repository at this point in the history
  • Loading branch information
bigint committed Dec 24, 2023
1 parent 4638500 commit 41a01c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/lib/profilePictureUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const uploadCroppedImage = async (
const cleanedFile = await imageCompression(file, {
exifOrientation: 1,
maxSizeMB: 1,
maxWidthOrHeight: 1024,
maxWidthOrHeight: 2048,
useWebWorker: true
});
const attachment = await uploadFileToIPFS(cleanedFile);
Expand Down

0 comments on commit 41a01c4

Please sign in to comment.