Check that there is indeed an image present throw exception
Check to make sure the file isn't over the maximum allowed filesize Max Allowed Filesize: 5MB throw exception
FileUploader is a class that allows for easy implementation for uploading multiple image or audio files at once.