[eluser]Zeeshan Rasool[/eluser]
Try this , hope it works
Code:
$config_image['image_library'] = 'gd2';
$config_image['source_image'] = './resources/images/team_images/'.$file_name;
$config_image['new_image'] = './resources/images/team_images/'.$file_name;
$config_image['create_thumb'] = FALSE;
$config_image['maintain_ratio'] = TRUE;
$config_image['width'] = 243;
$config_image['height'] = 360;
$this->load->library('image_lib',$config_image);
$this->image_lib->initialize($config_image);
$this->image_lib->resize();
keep going,