added simple cropping of source img