Good afternoon / evening, comrades! IMMEDIATELY after image loading ...

<div class="form-group"> @Html.LabelFor(m => m.Image, new { @class = "col-md-3 control-label" }) <div class="col-md-9"> <input type="file" name="uploadImage" class="form-control" /> </div> </div> 

... show it in the same view.

How to write such a script?)

  • Is the file uploaded via submit form or ajax? - Igor
  • submit forms. But I would like after pointing to the file, it closed the pop-up window with the choice of file (and so close) - but it will immediately display the image. - Kryshtop
  • use jQuery-File-Upload - Ruslan_K

0