cropping images now works