source/Application/Model/Article.php
public function getMasterZoomPictureUrl($iIndex)
    {
        $sPicUrl = false;
        $sPicName = basename($this->{"oxarticles__oxpic" . $iIndex}->value);

        if ($sPicName && $sPicName != "nopic.jpg") {
            $sPicUrl = \OxidEsales\Eshop\Core\Registry::getConfig()->getPictureUrl("master/product/" . $iIndex . "/" . $sPicName);
            if (!$sPicUrl || basename($sPicUrl) == "nopic.jpg") {
                $sPicUrl = false;
            }
        }

        return $sPicUrl;
    }
public function getMasterZoomPictureUrl($iIndex)
    {
        $sPicUrl = false;
        $sPicName = basename($this->{"oxarticles__oxpic" . $iIndex}->value);

        if ($sPicName && $sPicName != "nopic.jpg") {
            $sPicUrl = \OxidEsales\Eshop\Core\Registry::getConfig()->getPictureUrl("master/product/" . $iIndex . "/" . $sPicName);
            if (!$sPicUrl || basename($sPicUrl) == "nopic.jpg") {
                $sPicUrl = false;
            }
        }

        return $sPicUrl;
    }
public function getMasterZoomPictureUrl ( $ iIndex ) { $ sPicUrl = false ; $ sPicName = basename ( $ this -> { "oxarticles__oxpic" . $ iIndex } -> value ) ; if ( $ sPicName && $ sPicName != "nopic.jpg" ) { $ sPicUrl = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getPictureUrl ( "master/product/" . $ iIndex . "/" . $ sPicName ) ; if ( ! $ sPicUrl || basename ( $ sPicUrl ) == "nopic.jpg" ) { $ sPicUrl = false ; } } return $ sPicUrl ; }
Get master zoom picture url

@param int $iIndex picture index

@return string
Get master zoom picture url