Answers for "imagelib thourgh class in codeigniter"

PHP
0

imagelib thourgh class in codeigniter

$config['image_library'] = 'gd2';
$config['source_image'] = '/path/to/image/mypic.jpg';
$config['create_thumb'] = TRUE;
$config['maintain_ratio'] = TRUE;
$config['width']         = 75;
$config['height']       = 50;

$this->load->library('image_lib', $config);

$this->image_lib->resize();
Posted by: Guest on February-20-2021

Browse Popular Code Answers by Language