This project is read-only.


Improve thumbnail resizing and add option to expand/crop images to thumbnail bounds


In some case when uploading images that have a different aspect ratio to that of the thumbnail max width and height set for an image gallery, if "Keep Aspect Ratio" is selected, then the images are not always sized within the maximum thumbnail bounds.

The logic in the thumbnail service that resizes thumbnails needs to be improved. Also a new setting to allow thumbnails to be expanded to fill the thumbnail bounds (max width/height) while maintaining aspect ratio needs to be added. This should automatically center crop the image to fit within the thumbnail bounds.
Closed Sep 29, 2013 at 12:43 PM by usarskyy
Pull request was merged