Core/ShopLogo.php
protected function resizeImage()
    {
        $resized = false;

        if ($utilsPic = $this->getImageHandler()) {
            // checks if image can be resized, and resizes the image
            if ($utilsPic->resizeImage($this->getImagePath(), $this->getResizedImagePath(), $this->getWidth(), $this->getHeight())) {
                $resized = true;
            }
        }

        return $resized;
    }
protected function resizeImage()
    {
        $resized = false;

        if ($utilsPic = $this->getImageHandler()) {
            // checks if image can be resized, and resizes the image
            if ($utilsPic->resizeImage($this->getImagePath(), $this->getResizedImagePath(), $this->getWidth(), $this->getHeight())) {
                $resized = true;
            }
        }

        return $resized;
    }
protected function resizeImage ( ) { $ resized = false ; if ( $ utilsPic = $ this -> getImageHandler ( ) ) { // checks if image can be resized, and resizes the image if ( $ utilsPic -> resizeImage ( $ this -> getImagePath ( ) , $ this -> getResizedImagePath ( ) , $ this -> getWidth ( ) , $ this -> getHeight ( ) ) ) { $ resized = true ; } } return $ resized ; }
Resizes logo if needed to the size provided
Returns false when image does'nt exist, or can't be resized
Returns original image name when image is within boundaries
Returns resized image name when image is too large than defined

@return bool
Resizes logo if needed to the size provided Returns false when image does nt exist or can t be resized Returns original image name when image is within boundaries Returns resized image name when image is too large than defined