|Info||View files (4)||Download .zip||Reputation||Support forum||Blog|
|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2014-02-22 (5 months ago)||Not yet rated by the users||Total: 717 This week: 1||All time: 4,195 This week: 1,420|
|upload-picture 1.0||BSD License||5.3||PHP 5, Graphics, Files and Folders, V...|
This class can validate and resize an uploaded image file.
It takes an array entry from the $_FILES array for a given uploaded file and checks if it has one of the allowed file name extensions, checks if it as one of the allowed MIME types, and checks if the file size does not exceed the limit size.
Valid picture images may be moved to a given directory with the original name or a given new name.
The class may also rescale the image to fit a given width and height preserving the original picture proportions.
The class may also save the picture in JPEG format with a given compression level.
The class throws exceptions for any validation or processing errors.
|Version Control||Unique User Downloads||Download Rankings|
|This week:||1||This week:||1,420|