Implements custom cropping with paperclip