title: displaying image after Choose File, before upload
body: <p>how can after choose image and before upload (before insert in database) displaying image?<br><p>
  this code not displaying image:</p>
  
  <pre><code>var a = $('&lt;img src="' + g.STRING.selected.replace('$file', v) + '" alt="Angry face" width="50" height="50" /&gt;'),
  </code></pre>
  
  <p><br></p>
  
  <pre><code>&lt;input type="file" name="image' &gt;
  </code></pre>
  
  <p>With respect</p>