public function thumb($media, $size = 'small')
    {
        $thumbSizes = $this->container->getParameter('fulgurio_light_cms.thumbs');
        return LightCMSUtils::getThumbFilename($media->getFullPath(), $media->getMediaType(), $thumbSizes[$size]);
    }
public function thumb($media, $size = 'small')
    {
        $thumbSizes = $this->container->getParameter('fulgurio_light_cms.thumbs');
        return LightCMSUtils::getThumbFilename($media->getFullPath(), $media->getMediaType(), $thumbSizes[$size]);
    }
public function thumb ( $ media , $ size = 'small' ) { $ thumbSizes = $ this -> container -> getParameter ( 'fulgurio_light_cms.thumbs' ) ; return LightCMSUtils :: getThumbFilename ( $ media -> getFullPath ( ) , $ media -> getMediaType ( ) , $ thumbSizes [ $ size ] ) ; }
Get thumb of a picture

@param Page $page
Get thumb of a picture