title: Codeigniter image resize?
body: <p>I have problem with image class in CI?</p>
  
  <p>This is example</p>
  
  <p>On controller:</p>
  
  <pre><code>$this-&gt;load-&gt;library( array('image_lib') );
  </code></pre>
  
  <p>On view i have this:</p>
  
  <pre><code>    foreach($results as $row)
          {
  
  $config['image_library'] = 'gd2';
  $config['source_image'] = '/img/proizvodi/'.$row-&gt;proizvodid.'.jpg';
  $config['create_thumb'] = TRUE;
  $config['maintain_ratio'] = TRUE;
  $config['width']     = 75;
  $config['height']   = 50;
  
  
  $this-&gt;load-&gt;library('image_lib', $config); 
  $this-&gt;image_lib-&gt;resize();
  }
  </code></pre>
  
  <p>But i got no error, and thumb image is not created? 
  I dont know where is mistake?</p>