title: How to show uploaded image on upload_success page - codeigniter
body: <p>I have an upload page in my codeigniter app and when i upload an image and click submit it redirects to a page called 'upload_success' i want to show the image you just uploaded on that page.</p>
  
  <p>How can i do that?</p>
  
  <p>I used </p>
  
  <pre><code>&lt;script language="javascript"&gt; 
  function reload(){window.location.reload();} 
  &lt;/script&gt;
  </code></pre>
  
  <p>but then it uploads the image two times.</p>
  
  <p>NOTE: i am using Ci's file uploader class.</p>