src/classes/CCImage.php
public function resize_portrait( $height, $ignore_me )
	{
		// calculate width
		$width = $height * ( $this->width / $this->height );

		return $this->resize_strict( $width, $height );
	}
public function resize_portrait( $height, $ignore_me )
	{
		// calculate width
		$width = $height * ( $this->width / $this->height );

		return $this->resize_strict( $width, $height );
	}
public function resize_portrait ( $ height , $ ignore_me ) { // calculate width $ width = $ height * ( $ this -> width / $ this -> height ) ; return $ this -> resize_strict ( $ width , $ height ) ; }
Resize the current image from height and keep aspect ratio

@param int 		$width
@param int 		$height
@return self
Resize the current image from height and keep aspect ratio