Welcome Guest, Not a member yet? Register   Sign In
What is Proper way to create Thumbnail
#1
Question 


When I resize an image keeping 

Code:
 $config=array(
           'image_library'=>'gd2',
            'source_image' => $image_data['full_path'],  /*Original Image*/
            'create_thumb'=>TRUE,
            'new_image' =>'./uploads/thumbs',
            'maintain_ratio'=>TRUE,
            'width' => 150,
            'height' => 150
        );
        $this->load->library('image_lib', $config);
        $this->image_lib->resize();

 Codeigniter adds the string "_thumb" in the end of the name of resized image. 


How delete that file ?
Reply


Messages In This Thread
What is Proper way to create Thumbnail - by nkhan - 05-13-2016, 04:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB