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