/**
  * @param MediaInterface $media
  *
  *  @param MediaInterface $media
  *  @param string         $format
  *  
  * @return string
  */
 public function displayMediaForWysiwyg(MediaInterface $media, $format = '')
 {
     return $this->render('OpenOrchestraMediaBundle:BBcode/WysiwygDisplay:thumbnail.html.twig', array('media_url' => $this->getFileUrl($media->getThumbnail()), 'media_alt' => $media->getAlt($this->request->getLocale()), 'media_id' => $media->getId()));
 }