I am developing a site which allows registered members to upload a personal (colour) photograph to the site for others to view in the same way as many forums do. For the moment I expect most photos to be about passport size in terms of on-screen display. Perhaps up to 150 x 150 pixels. I won't know the resolution.
In order to avoid unnecessary wasted disk space and to maintain reasonably quick load/display times, I need to set a sensible maximum limit on the file size of these images and I am happy with the logic required to control this. What I am uncertain about, however, is what kind of limit to impose.
Any suggestions?
In order to avoid unnecessary wasted disk space and to maintain reasonably quick load/display times, I need to set a sensible maximum limit on the file size of these images and I am happy with the logic required to control this. What I am uncertain about, however, is what kind of limit to impose.
Any suggestions?