Proportional thumbnail

This change provides a way for an image to be scaled proportionally. I may not know if the provided image is portrait or if it is landscape, but I do know that I want to make the largest dimension a certain size without cropping the image.