title: Is it possible to read an image into an img tag with an input="file"?
body: <p>I've been recently experimenting with file uploads in PHP and jQuery and such, and I was wondering if it is possible for a user to open a file dialog box (with the "file" input tag), select an image, then display that image in an img tag? The user would then click "Upload", which would read the image data from the img tag to upload to the server? Anyways, something like that... I want the user to be able to view their pictures before they're uploaded. I've current integrated on my page a file input tag with a custom button, but am kinda stuck at that. Could anyone lend a hand? Any help is appreciated. Thanks.</p>