Image processing class in PHP
问题 I need to build a PHP photo processing class, I know there are MANY that already exist to the public but I need to build one to do just what I need done and nothing extra and nothing less. I need my class to do this... 1) I create a new instance of my class and I pass in either a URL of a photo, or the path to a local photo being uploaded using POST form. 2) I then need to take the main image and check it's dimensions, if it is wider the 800 pixels, I need to resize it down, if it is not