gcivil-nyu-org / Wednesday-Fall2023-Team-2

3 stars 2 forks source link

Large image is not available #110

Closed Zhiyuan-Wei closed 11 months ago

Zhiyuan-Wei commented 11 months ago

When I upload a image, it shows this:

large_img

Maybe set a image size limit or a image name limit?

NigelLu commented 11 months ago

Thank you for spotting this issue. As of now, AWS EB's nginx enforces this on all request that attach a large file to it. To get around this, we might need to configure other storage methods like S3 Buckets for media files.

As of now, Parkrowd has decided not to support uploading excessively large image files. But still, your feedback is definitely valid and we shall look into this if we have time~

Below is a screenshot from our testing doc, which we added after realizing excessively large files would cause issues.

Screenshot 2023-11-18 at 18 03 54