I am currently working in an MVC project and my current requirement is to load an image in Aviary picture editor. The problem occurred to me is that, the image I selected using input type "file" is rendered to the view using FileContentResult, and I want to load this selected image in Aviary editor.
The image tag which renders the selected image on the view is something like this,
<img id="imgTest" src="<%: Url.Content("~/[Controller]/[Action]/?a=" + Model.a + "&b=" + Model.b + "&c=" + Model.c) %>" alt="example" />
I will get the id and src of the image to launch it in aviary, but as this this a FileContentResult returning as the action result, it will not get loaded in the editor, and I am not sure how to get the real image from this. How can I load that image in Aviary?