title: PHP resize image proportionally with max width or weight
body: <p>There is any php script that resize image proportionally with max widht or height??</p>
  
  <p>Ex: I upload image and this original size is w:500 h:1000. But, I want to resize this thats max height is width and height is 500... That the script resize the image for w: 250 h: 500</p>