class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
Sorry all, but Step (6) showed a one-line addition to the IndexController file (or other file in which the Upload class will be used) that showed a forward slash (/) when it should have showed a backslash (\). So, the correct Step (6) is as follows:
(6) In the 'IndexController' or any other Controller file in which you wish to use the Upload class, add the following at the top of the file after the namespace line: 'use Upload\Upload;'.Reply
(6) In the 'IndexController' or any other Controller file in which you wish to use the Upload class, add the following at the top of the file after the namespace line: 'use Upload\Upload;'.