Skip to content

ufukozdemir1990/codeigniter-image-moo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codeigniter-image-moo + upload + delete

The CI library for image manipulation
The Codeigniter latest is Version 3.1.9
http://www.matmoo.com/digital-dribble/codeigniter/image_moo/

Start

  1. In the Codeigniter folder create a new folder name upload
  2. application->libraries->image_moo (PHP Image manipulation class)
  3. controllers->Upload (Upload, Delete, Image Crop)
  4. application->config->routes ($route['default_controller'] = 'upload';)
  5. application->views->upload.php (HTML Form)

image-moo usage

public function image_size($image, $x, $y){
    $this->image_moo
        ->load($image)
        ->resize_crop($x, $y)
        ->save_pa($prepend = '', $append = '-'.$x.'x'.$y, $overwrite = TRUE);
}
$this->image_size('upload/test-name.jpg', 500, 300);`

About

The CI library for image manipulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published