#FEC-1667 #time 2h #comment added JAvascript logic to resize thumbnails smartly
FEC-1667 #time 3h #comment fix thumbnail resize logic to crop from center
#FEC-1667 #time 1h #comment added inline documentation
#FEC-1667 #time 1h #comment added crop logic for wide images
Merge remote-tracking branch 'origin/FEC-1667' into 2.17-Aug-31