/**
  * {@inheritdoc}
  */
 public function __get($strKey)
 {
     switch ($strKey) {
         case 'imageSize':
             // Check default routine first
             parent::__get($strKey);
             if ($this->isImage && empty($this->arrImageSize)) {
                 $this->arrImageSize = @getimagesize(TL_ROOT . '/' . $this->strFile);
                 //@todo this helps for psd files. what's about a pdf file?
                 # if we want to use a ImageMagick function: add a static getImageSize() to IHook
             }
             return $this->arrImageSize;
             break;
         case 'isImage':
             return in_array($this->extension, trimsplit(',', \Config::get('validImageTypes')));
             break;
         default:
             return parent::__get($strKey);
             break;
     }
 }