Hi all, I am working on a website that need to preview images. I am wondering how to achieve this!
My first idea is to display the selected image with javascript. But I've no idea how to achieve that.
The second idea is to submit the file to the server, and then display the image on the page. I've no idea on this without refreshing the whole page, either!