public function getImageSize($path, $mime = '') {
		$size = false;
		if ($mime === '' || strtolower(substr($mime, 0, 5)) === 'image') {
			if ($work = $this->getWorkFile($path)) {
				if ($size = @getimagesize($work)) {
					$size['dimensions'] = $size[0].'x'.$size[1];
				}
			}
			is_file($work) && @unlink($work);
		}
		return $size;
	}
public function getImageSize($path, $mime = '') {
		$size = false;
		if ($mime === '' || strtolower(substr($mime, 0, 5)) === 'image') {
			if ($work = $this->getWorkFile($path)) {
				if ($size = @getimagesize($work)) {
					$size['dimensions'] = $size[0].'x'.$size[1];
				}
			}
			is_file($work) && @unlink($work);
		}
		return $size;
	}
public function getImageSize ( $ path , $ mime = '' ) { $ size = false ; if ( $ mime === '' || strtolower ( substr ( $ mime , 0 , 5 ) ) === 'image' ) { if ( $ work = $ this -> getWorkFile ( $ path ) ) { if ( $ size = @ getimagesize ( $ work ) ) { $ size [ 'dimensions' ] = $ size [ 0 ] . 'x' . $ size [ 1 ] ; } } is_file ( $ work ) && @ unlink ( $ work ) ; } return $ size ; }
Get image size array with `dimensions`

@param string $path path need convert encoding to server encoding
@param string $mime file mime type
@return array|false
Get image size array with dimensions