Image Upload - Setting maximum file size

Has anybody done this? I can’t figure out how to set the maximum file
upload size for a file from a form (in my case, an image).

Any suggestions welcome!

Cameron