public function get_prop_height($resized_width) {
        $height = intval(($this->height * $resized_width) / $this->width);
        if (!$height) $height = 1;
        return $height;
    }
public function get_prop_height($resized_width) {
        $height = intval(($this->height * $resized_width) / $this->width);
        if (!$height) $height = 1;
        return $height;
    }
public function get_prop_height ( $ resized_width ) { $ height = intval ( ( $ this -> height * $ resized_width ) / $ this -> width ) ; if ( ! $ height ) $ height = 1 ; return $ height ; }
Returns calculated proportional height from the given width
@param integer $resized_width
@return integer
Returns calculated proportional height from the given width