Core/ShopLogo.php
protected function getResize()
    {
        $resize = false;
        $imagePath = $this->getImagePath();
        if ($imagePath) {
            $imageSize = $this->getImageSize($imagePath);

            if ($imageSize['width'] > $this->getWidth() ||
                $imageSize['height'] > $this->getHeight()
            ) {
                $resize = true;
            }
        }

        return $resize;
    }
protected function getResize()
    {
        $resize = false;
        $imagePath = $this->getImagePath();
        if ($imagePath) {
            $imageSize = $this->getImageSize($imagePath);

            if ($imageSize['width'] > $this->getWidth() ||
                $imageSize['height'] > $this->getHeight()
            ) {
                $resize = true;
            }
        }

        return $resize;
    }
protected function getResize ( ) { $ resize = false ; $ imagePath = $ this -> getImagePath ( ) ; if ( $ imagePath ) { $ imageSize = $ this -> getImageSize ( $ imagePath ) ; if ( $ imageSize [ 'width' ] > $ this -> getWidth ( ) || $ imageSize [ 'height' ] > $ this -> getHeight ( ) ) { $ resize = true ; } } return $ resize ; }
Calculates if logo should be resized.

@return bool
Calculates if logo should be resized .