This class can be used to validate and process image files uploaded via Web forms. It takes an entry of the $_FILES array for an uploaded file and validates whether the size does not exceed a given limit and that the file name extension is of GIF, PNG or JPEG formats. If the uploaded file is valid, it moves the file to a given directory.