CSS-Tricks Example

Display preview of image locally (without uploading to server)

Preview: