title: Codeigniter doesn't show Images
body: <p>I have a problem with CodeIgniter showing images in the function <code>detail</code>. In the function <code>index</code>, they are shown. Can someone show me where the problem is? </p>
  
  <pre><code>class Reference extends CI_Controller {
  
      public function __construct()
      {
          parent::__construct();
          $this-&gt;load-&gt;model('reference_model');
      }
  
      public function index()
      {
          $data['work'] = $this-&gt;reference_model-&gt;getList();
          $menu['page'] = "Reference";
          $menu['pages'] = $this-&gt;pages-&gt;getPages();
  
          $this-&gt;basic_template-&gt;set('title','Reference | DSVision');
          $this-&gt;basic_template-&gt;menu('menu_view',$menu);
          $this-&gt;basic_template-&gt;script('reference_script_view');
          $this-&gt;basic_template-&gt;view('basic_script', 'reference_view',$data);
      }
  
      public function detail($number)
      {
          if($this-&gt;reference_model-&gt;exist($number) == 0)
              redirect('reference');
  
          $data['id'] = $number;
          $data['work'] = $this-&gt;reference_model-&gt;getWork($number);
          $menu['page'] = "Reference";
          $menu['pages'] = $this-&gt;pages-&gt;getPages();
  
          $this-&gt;basic_template-&gt;set('title','Reference | DSVision');
          $this-&gt;basic_template-&gt;menu('menu_view',$menu);
          $this-&gt;basic_template-&gt;view('basic', 'detail_view',$data);
      }
  }
  </code></pre>