<canvas id="myCanvas" width ="320" height="260">

<img src="@Model.img.path" id="img" >

I am trying to use MVC model to create "update news" page. News has an image and i am using canvas to upload images that because users can edit images with editor based on canvas process. Creating news is Ok.But when updating news, i would like to see image in my canvas that already created . i took my entity and pass it to the View of "update news"-news includes img path- but i cant figure out how can i use this path to show my image in the canvas element.

Thanks alredy. Sorry for my english.

Related posts

Recent Viewed