dualdragon
asked on
Displaying the selected file that the user chooses to upload.
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.