title: source image is empty codeigniter crop image
body: <p>I am not able to save the image in the destination folder, the directory remains empty.</p>
  
  <pre><code>$this-&gt;load-&gt;library('image_lib');
  
  $slug = url_title(convert_accented_characters($this-&gt;input-&gt;post('title')), 'dash', TRUE);
  
              $config['image_library'] = 'gd2';
              $config['source_image']   = '/arquivos_upload/link/'. $slug .'.jpg'; 
              $config['allowed_types'] = 'jpg|png';
              $config['maintain_ratio'] = TRUE;
              $config['quality'] = '100%';
              $config['width']    = 405;
              $config['height']   = 405;
  
              $this-&gt;load-&gt;library('image_lib', $config);
              $this-&gt;image_lib-&gt;clear();
              $this-&gt;image_lib-&gt;initialize($config); 
  
  
              if ( ! $this-&gt;image_lib-&gt;resize())
              {
                echo $this-&gt;image_lib-&gt;display_errors();
              }
  </code></pre>