Added ability to crop images