I am using codeigniter 2.1.2 on Win 8.1
and the following code is not working
$this->load->library('image_lib'); $config['image_library'] = 'GD2'; $config['source_image'] = 'C:/xampp/htdocs/imgt/wall/wallpaper2.jpg'; $config['create_thumb'] = TRUE; $config['maintain_ratio'] = TRUE; $config['width'] = 75; $config['height'] = 50; $this->load->library('image_lib', $config); var_dump( $this->image_lib->resize()); // this returns true
What is the problem i checked GD is installed ??
I also tried the same code in 2.2.0 here too not working