title: How to display the current picture above the upload field in SonataAdminBundle?
body: <p>I am using <strong>SonataAdminBundle</strong> (with Doctrine2 ORM) and I have successfully added a file upload feature to my Picture model.</p>
  
  <p>I would like, on the <strong>Show</strong> and <strong>Edit</strong> pages, to display a simple <code>&lt;img src="{{ picture.url }} alt="{{ picture.title }} /&gt;</code> tag just above the relevant form field (provided that the Picture being edited is not new, of course), so that the user may see the current photo, and decide whether to change it or not.</p>
  
  <p>After hours of research, I've been unable to figure out how to do it. I suppose I need to override some template, but I'm a bit lost...
  Can somebody give me a hint?</p>
  
  <p><em>Thank you!</em></p>
  
  <p>Here is the relevant section of my PictureAdmin class.</p>
  
  <p>
  </p>
  
  <pre><code>protected function configureFormFields(FormMapper $formMapper)
  {
      $formMapper
          -&gt;add('category', NULL, ['label' =&gt; 'Catégorie'])
          -&gt;add('title', NULL, ['label' =&gt; 'Titre'])
          -&gt;add('file', 'file', ['required' =&gt; false, 'label' =&gt; 'Fichier']) // Add picture near this field
          -&gt;add('creation_date', NULL, ['label' =&gt; 'Date d\'ajout'])
          -&gt;add('visible', NULL, ['required' =&gt; false, 'label' =&gt; 'Visible'])
          -&gt;add('position', NULL, ['label' =&gt; 'Position']);
  }
  
  protected function configureShowFields(ShowMapper $showMapper)
  {
      $showMapper
          -&gt;add('id', NULL, ['label' =&gt; 'ID'])
          -&gt;add('category', NULL, ['label' =&gt; 'Catégorie'])
          -&gt;add('title', NULL, ['label' =&gt; 'Titre'])
          -&gt;add('slug', NULL, ['label' =&gt; 'Titre (URL)'])
          -&gt;add('creation_date', NULL, ['label' =&gt; 'Date d\'ajout'])
          -&gt;add('visible', NULL, ['label' =&gt; 'Visible'])
          -&gt;add('position', NULL, ['label' =&gt; 'Position']);
          // Add picture somewhere
  }
  </code></pre>
  
  <p></p>