title: How to obtain Image URL when i retrieve an entity in Symfony + VichUploaderBundle?
body: <p>Thank to the VichUploaderBundle which make me easier to handle image upload in Symfony 4 framework.</p>
  
  <p>When i obtain data from entity, it return me with entity data and image name. But i don't want to have image name only, because every time i need to write path for that image to display correctly.</p>
  
  <p><strong>Note: For vich uploader config and entity mapping, it is exactly same on github docs so i won't paste it here cause i think it is unnecessary.</strong></p>
  
  <hr>
  
  <p>Code Sample</p>
  
  <p>Home Controller:</p>
  
  <pre><code>&lt;?php
  namespace App\Controller\Api;
  
  //.....
  
  /**
   * @Route("/home")
   */
  class AdminHomeController extends AbstractController
  {
      private $em;
  
      public function __construct(EntityManagerInterface $em)
      {
          $this-&gt;em = $em;
      }
  
      /**
       * @Route("/banner", methods={"GET"})
       */
      public function getHomeBannerList(SerializerInterface $serializer)
      {
          $repo = $this-&gt;em-&gt;getRepository(HomeBanner::class);
          $home = $repo-&gt;findAll();
  
          $data = $serializer-&gt;serialize($home, 'json');
          return new JsonResponse($data, Response::HTTP_OK, ['Content-Type' =&gt; 'application/json','Access-Control-Allow-Origin' =&gt; '*'], true);
      }
  
       /**
       * @Route("/banner", methods={"POST"})
       */
      public function addHomeBanner(Request $request)
      {
        $file = $request-&gt;files-&gt;get('image');
        $home = new HomeBanner();
        $home-&gt;setImageFile($file);
        $home-&gt;setUpdatedAt(new \DateTime());
        $this-&gt;em-&gt;persist($home);
        $this-&gt;em-&gt;flush();
      }
  }
  </code></pre>
  
  <p>When visit  /home/banner , it will give me:</p>
  
  <pre><code>[
    {
      "image" : "home01.jpg",
      "updated_at": "2019-06-14 00:00:00"
    },
    {
      "image" : "home02.jpg",
      "updated_at": "2019-06-14 00:00:00"
    },
  ]
  </code></pre>
  
  <p>How can i make it to return with the image path and not image name only?</p>