Displaying the selected file that the user chooses to upload.
Posted on 2000-04-19
I am looking for help on how I can display the gif,jpg, etc. that the user selects to upload.
I allow a user to upload a picture
<input type="file" name="smallimgfile">
When the user selects a file, I would like to display the image before they hit the submit button. This will allow them to verify that they selected the correct picture.
<imgsrc="whateverfile the user selected" alt="" border=0>
FYI...I am using coldfusion.