Added an option to make thumbnails in the original image proportions