public function getImageHeight($type, $size)
	{
		if (empty($this->$type))
		{
			return null;
		}
		$method = $this->getImageConfig($type, $size, 'method');

		// Height varies for images that are 'landscape', 'auto', 'fit', 'crop'
		if (in_array($method, array('landscape', 'auto', 'fit', 'crop')))
		{
			list($width, $height) = $this->getImageDimensions($type, $size);
			return $height;
		}
		return $this->getImageConfig($type, $size, 'height');
	}
public function getImageHeight($type, $size)
	{
		if (empty($this->$type))
		{
			return null;
		}
		$method = $this->getImageConfig($type, $size, 'method');

		// Height varies for images that are 'landscape', 'auto', 'fit', 'crop'
		if (in_array($method, array('landscape', 'auto', 'fit', 'crop')))
		{
			list($width, $height) = $this->getImageDimensions($type, $size);
			return $height;
		}
		return $this->getImageConfig($type, $size, 'height');
	}
public function getImageHeight ( $ type , $ size ) { if ( empty ( $ this -> $ type ) ) { return null ; } $ method = $ this -> getImageConfig ( $ type , $ size , 'method' ) ; // Height varies for images that are 'landscape', 'auto', 'fit', 'crop' if ( in_array ( $ method , array ( 'landscape' , 'auto' , 'fit' , 'crop' ) ) ) { list ( $ width , $ height ) = $ this -> getImageDimensions ( $ type , $ size ) ; return $ height ; } return $ this -> getImageConfig ( $ type , $ size , 'height' ) ; }
Returns the value for use in the height attribute of an img tag for the given image type and size

@param $type
@param $size
@return null|string
Returns the value for use in the height attribute of an img tag for the given image type and size