/** Get a single photos's details */ public function detailsAction() { if ($this->getParam('id', false)) { $id = $this->getParam('id'); $exif = $this->_api->getPhotoExifDetails($id); $this->view->exif = $exif; $geo = $this->_api->getGeoLocation($id); $this->view->geo = $geo; $comments = $this->_api->getPhotoCommentList($id); $this->view->comments = $comments; $image = $this->_api->getPhotoInfo($id); $this->view->image = $image; $sizes = $this->_api->getSizes($id); $this->view->sizes = $sizes; } else { throw new Pas_Exception_Param($this->_missingParameter, 500); } }