Beispiel #1
0
 /**
  * Returns album image manager
  * 
  * @param \Krystal\Stdlib\VirtualEntity $config
  * @return \Krystal\Image\ImageManager
  */
 private function getAlbumImageManager(VirtualEntity $config)
 {
     $plugins = array('thumb' => array('dimensions' => array(array(200, 200), array($config->getAlbumThumbWidth(), $config->getAlbumThumbHeight()))), 'original' => array('prefix' => 'original'));
     return new ImageManager('/data/uploads/module/photogallery/albums', $this->appConfig->getRootDir(), $this->appConfig->getRootUrl(), $plugins);
 }