fix for crop template and issues with large images
Merge pull request #1 from saumishr/master

fix for crop template and issues with large images