images – What is the recommended maximum file size for a social media type website?

I am building a social media app for gardeners. One of the things they can do is upload images of their gardens. I am storing everything in Amazon aws s3.

I don’t want the user to be able to upload large image files because if those images are then displayed on a webpage they may cause that webpage to load slow.

Most images will be displayed in an image carousel that contains a row of image thumbnails, an image preview section, and when you press on the image preview an enlarged image will be shown.

So if a webpage can contain multiple images what filesize limit would be recommended?