ISTWCMS-6264: make resized images retain the original proportions

Merged Kevin Paxman requested to merge feature/ISTWCMS-6264-kpaxman-fix_resizing_images into 1.0.x

Merge request reports