Ejemplo n.º 1
0
 /**
  * Gets thumbnail if there is one
  *
  * @return	mixed	false if there is no thumbnail or the fullpath
  * 					and name if there is.
  */
 public function getThumb()
 {
     $resize = new TA_Filter_ImageResize();
     $thumbName = $this->filename . $resize->getThumbnailSuffix();
     if (file_exists(Zend_Registry::get('config')->directories->uploads . $thumbName)) {
         return $thumbName;
     }
     return false;
 }