title: display image in a popup in mvc
body: <p>I am generating word document with aspose and I would like to show some kind of preview to the user before they decide to save the document.
  I have a view where users can enter their info:</p>
  
  <pre><code>@model WordAutomation.Models.Document
  
  @{
      ViewBag.Title = "Document";
  }
  
  &lt;h2&gt;Document&lt;/h2&gt;
  
  @using (Html.BeginForm()) {
      @Html.ValidationSummary(true)
  
      &lt;fieldset&gt;
          &lt;legend&gt;Document&lt;/legend&gt;
  
          &lt;div class="editor-label"&gt;
              @Html.LabelFor(model =&gt; model.ClientTitle)
          &lt;/div&gt;
          &lt;div class="editor-field"&gt;
              @Html.EditorFor(model =&gt; model.ClientTitle)
              @Html.ValidationMessageFor(model =&gt; model.ClientTitle)
          &lt;/div&gt;
  
          &lt;div class="editor-label"&gt;
              @Html.LabelFor(model =&gt; model.ClientFullName)
          &lt;/div&gt;
          &lt;div class="editor-field"&gt;
              @Html.EditorFor(model =&gt; model.ClientFullName)
              @Html.ValidationMessageFor(model =&gt; model.ClientFullName)
          &lt;/div&gt;      
  
          &lt;p&gt;
              &lt;input type="submit" value="Create" /&gt;
          &lt;/p&gt;
      &lt;/fieldset&gt;
  }
  
  &lt;div&gt;
      @Html.ActionLink("Preview", "Preview")
  &lt;/div&gt;
  
  @section Scripts {
      @Scripts.Render("~/bundles/jqueryval")
  }
  </code></pre>
  
  <p>Now I have the controller for preview:</p>
  
  <pre><code>  public ActionResult Preview()
          {
              return View();
          }
  </code></pre>
  
  <p>When the user clicks on preview I want to generate the word document (that part is already done) and display it as a popup on the screen for the user.
  Exactly what I need is how to display image on the screen, once I'll enter the preview controller.
  Is that possible somehow?
  Greatly appreciated.</p>