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

fix for crop template and issues with large images