Is there any way to display image in client browser without uploading it to server?

后端 未结 4 561
攒了一身酷
攒了一身酷 2021-01-24 01:57

I am writing a simple \"Book\" create page in ASP.NET MVC. User can create book by filling title,year etc.. and selecting a cover image. When user press \"Create\" button Form

4条回答
  •  粉色の甜心
    2021-01-24 02:24

    You can do it with Simple javascript...

    assign the selected image path.. to image tag prefixing the file://, n it works the way you want it to be

提交回复
热议问题