/**
  * Return if there are no files
  *
  * @return string
  */
 public function generate()
 {
     $accountModel = AccountModel::findByPk($this->facebook_album_account);
     if ($accountModel === null) {
         return '';
     }
     $this->facebookAlbum = new FacebookAlbum($accountModel);
     $this->facebookAlbum->setAlbumId($this->facebook_album);
     if ($this->facebookAlbum->getAlbumFolder() === null) {
         return '';
     }
     // Could not connect to the Facebook
     if (!$this->facebookAlbum->connect()) {
         return '';
     }
     // Create the album if it is new
     if ($this->facebookAlbum->isNew()) {
         $this->facebookAlbum->fetchImages();
     }
     return parent::generate();
 }