/** * Get image preview url * * @return string */ protected function _getUrl() { $url = false; if ($this->getValue()) { $url = $this->imageModel->getBaseUrl() . $this->getValue(); } return $url; }
/** * Return the Base URL for News Item images * * @return string */ public function getBaseUrl() { return $this->_imageModel->getBaseUrl(); }