I want to be able to preview a file (image) before it is uploaded. The preview action should be executed all in the browser without using Ajax to upload the image.
How can I do this?
转载于:https://stackoverflow.com/questions/4459379/preview-an-image-before-it-is-uploaded