source/Application/Model/Article.php
public function getZoomPictureUrl($iIndex = '')
    {
        $iIndex = (int) $iIndex;
        if ($iIndex > 0 && !$this->_isFieldEmpty("oxarticles__oxpic" . $iIndex)) {
            $sImgName = basename($this->{"oxarticles__oxpic" . $iIndex}->value);
            $sSize = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam("sZoomImageSize");

            return \OxidEsales\Eshop\Core\Registry::getPictureHandler()->getProductPicUrl(
                "product/{$iIndex}/",
                $sImgName,
                $sSize,
                'oxpic' . $iIndex
            );
        }
    }
public function getZoomPictureUrl($iIndex = '')
    {
        $iIndex = (int) $iIndex;
        if ($iIndex > 0 && !$this->_isFieldEmpty("oxarticles__oxpic" . $iIndex)) {
            $sImgName = basename($this->{"oxarticles__oxpic" . $iIndex}->value);
            $sSize = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam("sZoomImageSize");

            return \OxidEsales\Eshop\Core\Registry::getPictureHandler()->getProductPicUrl(
                "product/{$iIndex}/",
                $sImgName,
                $sSize,
                'oxpic' . $iIndex
            );
        }
    }
public function getZoomPictureUrl ( $ iIndex = '' ) { $ iIndex = ( int ) $ iIndex ; if ( $ iIndex > 0 && ! $ this -> _isFieldEmpty ( "oxarticles__oxpic" . $ iIndex ) ) { $ sImgName = basename ( $ this -> { "oxarticles__oxpic" . $ iIndex } -> value ) ; $ sSize = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( "sZoomImageSize" ) ; return \ OxidEsales \ Eshop \ Core \ Registry :: getPictureHandler ( ) -> getProductPicUrl ( "product/{$iIndex}/" , $ sImgName , $ sSize , 'oxpic' . $ iIndex ) ; } }
Returns article zoom picture url

@param int $iIndex picture index

@return string
Returns article zoom picture url