resize_strategy that supports either width or height and then keeps aspect ratio

Archived from the Transloadit support forum. Originally posted on October 4, 2010; details may be outdated, see our docs for current behavior. Original thread

So i would like to specify that an image should be stretch to 300wide and the height should be kept proportional.

Hey, I just restored this ticket to ask if you figured out how to do this? I think the resize method you were looking for is ‘fit’.