title: Display image from database Codeigniter
body: <p>i store profile images in database by adding this code to upload process</p>
  
  <pre><code>($config['upload_path'] = './img/photos/';
  $data['img'] = $config['upload_path'].$image_data['file_name'];).
  </code></pre>
  
  <p>In my database there is img column that has such paths</p>
  
  <p><code>./img/photos/8f8eeb37d5fd82b7ba4cd16a356064ce.jpg</code>.</p>
  
  <p>how can i display image in my view file? Thanks in advance.  </p>