public function resize($width, $height) {
        if ($width && $height) $this->thumb->resize($width, $height);
        else if (!$width) $this->thumb->resize(99999, $height);
        else if (!$height) $this->thumb->resize($width, 99999);
        return $this;
    }
public function resize($width, $height) {
        if ($width && $height) $this->thumb->resize($width, $height);
        else if (!$width) $this->thumb->resize(99999, $height);
        else if (!$height) $this->thumb->resize($width, 99999);
        return $this;
    }
public function resize ( $ width , $ height ) { if ( $ width && $ height ) $ this -> thumb -> resize ( $ width , $ height ) ; else if ( ! $ width ) $ this -> thumb -> resize ( 99999 , $ height ) ; else if ( ! $ height ) $ this -> thumb -> resize ( $ width , 99999 ) ; return $ this ; }
Resize with no cropping

@param integer $width
@param integer $height
@return $this
Resize with no cropping