/** * View the thumbnail for a given image */ public function viewthumbnailAction() { $file = $this->fileService->getFile($this->_getParam('id')); $this->fileService->streamTumbnailFile($file); }