Smart Resize
View the sample
Download file to try it for yourself in Galaincha