img tag before saving the image in the database.....
i want to preview the image so that i can crop the image after that it will be saved in the database......
i want to preview the image so that i can crop the image after that it will be saved in the database......
thaks
Kirtan PatelPosted May 30, 2010, 3:19 PM
this can help you to preview client side file in image tag when file Upload control selects the file
<asp:FileUpload ID="FileUpload1" runat="server" onChange="document.getElementById('previmg').setAttribute('src',this.value);"/>
<img id="previmg" src=""/>