source/Core/ViewConfig.php
public function getImageUrl($sFile = null, $bSsl = null)
    {
        if ($sFile) {
            $sValue = $this->getConfig()->getImageUrl($this->isAdmin(), $bSsl, null, $sFile);
        } elseif (($sValue = $this->getViewConfigParam('imagedir')) === null) {
            $sValue = $this->getConfig()->getImageUrl($this->isAdmin(), $bSsl);
            $this->setViewConfigParam('imagedir', $sValue);
        }

        return $sValue;
    }
public function getImageUrl($sFile = null, $bSsl = null)
    {
        if ($sFile) {
            $sValue = $this->getConfig()->getImageUrl($this->isAdmin(), $bSsl, null, $sFile);
        } elseif (($sValue = $this->getViewConfigParam('imagedir')) === null) {
            $sValue = $this->getConfig()->getImageUrl($this->isAdmin(), $bSsl);
            $this->setViewConfigParam('imagedir', $sValue);
        }

        return $sValue;
    }
public function getImageUrl ( $ sFile = null , $ bSsl = null ) { if ( $ sFile ) { $ sValue = $ this -> getConfig ( ) -> getImageUrl ( $ this -> isAdmin ( ) , $ bSsl , null , $ sFile ) ; } elseif ( ( $ sValue = $ this -> getViewConfigParam ( 'imagedir' ) ) === null ) { $ sValue = $ this -> getConfig ( ) -> getImageUrl ( $ this -> isAdmin ( ) , $ bSsl ) ; $ this -> setViewConfigParam ( 'imagedir' , $ sValue ) ; } return $ sValue ; }
Returns image url

@param string $sFile Image file name
@param bool   $bSsl  Whether to force SSL

@return string
Returns image url