This application will work for files with any dimension. You just need to change the fileSize property of the limits property in server/routes/file.js file, If the file you're uploading is larger in size. Currently, I have set it to only 1MB which I verified for 4291 × 3218 dimension which is this image
limits:{fileSize:1000000// max file size 1MB = 1000000 bytes}
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
How to handle high dimension photo
This application will work for files with any dimension. You just need to change the fileSize property of the limits property in
server/routes/file.jsfile, If the file you're uploading is larger in size. Currently, I have set it to only 1MB which I verified for 4291 × 3218 dimension which is this image