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