rajanam / image-lib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image-lib

A simple PHP library for manipulating images nothing fancy, just some dirty codes

Usage

Just instantiate the Imgbie class and call it's methods.
try {
  $image = new ImgBie($_POST['pictures']);
  // set the destination folder
  $image->setDestination('/path/to/your/uploadfolder/');
  $image->auto();
  $messages = $image->getSuccessMessage();
} catch (Exception $e){
  echo $e->getMessage();
}

Enjoy!

About


Languages

Language:PHP 100.0%