Fix a bug where the image thumbnail was not being created.
This commit is contained in:
parent
af1b85e36f
commit
ceb54c28f7
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ class Upload extends CI_Controller {
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->load->library('image_lib',$config);
|
$this->load->library('image_lib',$config);
|
||||||
|
$this->image_lib->resize();
|
||||||
$message = array('type'=>'success','status'=>'Uploaded successfully', 'file'=>base_url($file_name));
|
$message = array('type'=>'success','status'=>'Uploaded successfully', 'file'=>base_url($file_name));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue