<form enctype="multipart/form-data" method="post" name="upload_form" action="/upload_handler">
<input id="fileinput" type="file" /><br>
<input type="submit" value="Upload">
</form>
<img src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="" />