showing uploaded image within div
<ul>
<li>When I upload the image can you tell me how to show image within the red box</li>
<li>Providing code below</li>
</ul>

<p><a href="http://codepen.io/anon/pen/ZWXmpd" rel="nofollow">http://codepen.io/anon/pen/ZWXmpd</a></p>

<pre><code>&lt;div class="upload-image"&gt;
    &lt;div class="upload-image-preview"&gt;&lt;/div&gt;
    &lt;input type="file" name="file" value="Upload Image" /&gt;
&lt;/div&gt;
</code></pre>