public function getImageDimensions()
    {
        $dimension = $this->_getSetting('dimension');
        if ($this->getRow()->use_crop) {
            $parentDimension = $this->_getImageEnlargeComponent()->getImageDimensions();
            $dimension['crop'] = $parentDimension['crop'];
        }
        $data = $this->getImageData();
        return Kwf_Media_Image::calculateScaleDimensions($data['file'], $dimension);
    }
public function getImageDimensions()
    {
        $dimension = $this->_getSetting('dimension');
        if ($this->getRow()->use_crop) {
            $parentDimension = $this->_getImageEnlargeComponent()->getImageDimensions();
            $dimension['crop'] = $parentDimension['crop'];
        }
        $data = $this->getImageData();
        return Kwf_Media_Image::calculateScaleDimensions($data['file'], $dimension);
    }
public function getImageDimensions ( ) { $ dimension = $ this -> _getSetting ( 'dimension' ) ; if ( $ this -> getRow ( ) -> use_crop ) { $ parentDimension = $ this -> _getImageEnlargeComponent ( ) -> getImageDimensions ( ) ; $ dimension [ 'crop' ] = $ parentDimension [ 'crop' ] ; } $ data = $ this -> getImageData ( ) ; return Kwf_Media_Image :: calculateScaleDimensions ( $ data [ 'file' ] , $ dimension ) ; }
This function is used by Kwc_Basic_ImageEnlarge_EnlargeTag_ImagePage_Component
to get the dimension-values defined in getSettings and the crop-values
if use_crop was checked.
This function is used by Kwc_Basic_ImageEnlarge_EnlargeTag_ImagePage_Component to get the dimension - values defined in getSettings and the crop - values if use_crop was checked .