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.
I am afraid I cannot provide you with an example, I never used TinyMVC. But if you look at some existing TinyMVC plugins, it should give you an idea.
Basically, I think you should create a plugin class, where you instantiate the class.upload.php in a function that you would call 'upload' (and not in the constructor of your plugin).Reply
Basically, I think you should create a plugin class, where you instantiate the class.upload.php in a function that you would call 'upload' (and not in the constructor of your plugin).