private function getThumbnailPath($currentName) { return $this->MediaPaths->fileVersionInfo('/media/' . $currentName)->thumbnail; }