title: Upload Images and Text Files using <input type=file> then showing them within document
body: <p>I want to make a file input where you can select an image then it display within a specific div. I've tried a few methods I've seen and I have done this in the past but I don't remember... I want to do that with a text document as well, just displaying the text without an iframe or anything.</p>
  
  <p>Any pointers?</p>
  
  <p>Just so you know I want to put in local files and it is only required to work in chrome.</p>