You can create different thumbs base on source image , see Rotation - Settings - Crop Profiles
for example, if a source image is vertical - we'll create a vertical thumb, otherwise - horizontal.
Hybrid Thumb Size
Hybrid Thumb Size
Don't forget to run script update