资 源 简 介
This class allow you to perform some actions on uploaded images like save an image, resize it...
For the moment you can: save an image, resize an image, delete one or more files. But with the time new function will be added to the class allowing more actions.
Functions
save - Allow you to save uploaded image
resize - Allow you to resize an uploaded image by indicating the height or width or both
deletefile - Allow you to delete one or more files
Limit
Only supports jpg,gif,png
Accepts only uploaded images under 2MB (considering allowing the developer to choose specifying the size in the arguments)
Error message are for the moment in french
Example
Example of resizing an image by indicating the width.
```
$image = new Image();
$image->resize($myImage,array(
"largeur" => 42,
"nom" => "myNewName"
))
```