JiayangYing / CITS3403_PRO

MIT License
2 stars 0 forks source link

Increase Image Upload Limit and Update User Notification #113

Closed JiayangYing closed 4 months ago

JiayangYing commented 4 months ago

Description

Currently, our application only allows users to upload images with a maximum size of 1MB each. We need to increase this limit to 5MB per image to accommodate higher quality images. Additionally, we must update the frontend to inform users about this new limitation. Tasks

Update Backend Configuration:
    Modify the php.ini configuration to increase the upload_max_filesize and post_max_size settings.
    Ensure that server-side validation supports the new 5MB per image limit.

Update Frontend Notification:
    Inform users of the new 5MB per image upload limit on the upload form.
    Implement client-side validation to prevent users from attempting to upload images larger than 5MB.
JiayangYing commented 4 months ago

close #114