classes/BannerImage.php
protected function getImageSizeCompressed($BannerImage)
	{
		$arrImageSize = false;
		$res = $this->uncompressSwcData($BannerImage);
		if ($res) 
		{
			// width,height
			$arrImageSize = array($res[0], $res[1], 13); // 13 = SWC
		}
		ModuleBannerLog::writeLog(__METHOD__ , __LINE__ , 'Image Size: '. print_r($arrImageSize,true));
		
		return $arrImageSize; 
	}
protected function getImageSizeCompressed($BannerImage)
	{
		$arrImageSize = false;
		$res = $this->uncompressSwcData($BannerImage);
		if ($res) 
		{
			// width,height
			$arrImageSize = array($res[0], $res[1], 13); // 13 = SWC
		}
		ModuleBannerLog::writeLog(__METHOD__ , __LINE__ , 'Image Size: '. print_r($arrImageSize,true));
		
		return $arrImageSize; 
	}
protected function getImageSizeCompressed ( $ BannerImage ) { $ arrImageSize = false ; $ res = $ this -> uncompressSwcData ( $ BannerImage ) ; if ( $ res ) { // width,height $ arrImageSize = array ( $ res [ 0 ] , $ res [ 1 ] , 13 ) ; // 13 = SWC } ModuleBannerLog :: writeLog ( __METHOD__ , __LINE__ , 'Image Size: ' . print_r ( $ arrImageSize , true ) ) ; return $ arrImageSize ; }
getimagesize without zlib doesn't work
workaround for this

@param	string	$BannerImage	Image
@return	mixed	$array / false
getimagesize without zlib doesn t work workaround for this