Renamed variables in ImageHelper.cs and tweaked logic in BinaryFileManager.cs to make resize actions more consistent - now there is only the option to allow stretching or not, and if this is not allowed, images will be cropped to fit the required aspect ratio and never be shown bigger than their original size. Note that this is consistent with the behaviour of Contextual Image Delivery.