I remember a template some time ago(don't remember the name) where the user could select a photo from his computer and the photo's thumbnail would be displayed in the form. There was like this selct photobutton, when the user selected it, a small thumbnail would appear. I don't remember how that was done and haven't been able to find anything like it on the Internet either.
Does anybody know how it can be implemented(js/css)