/** * Resizes an image to be no larger than $width or $height * * @param int $width * @param int $height */ public function resizePx($width, $height) { parent::resize($width, $height); return $this; }