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

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

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

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