crop_image method scratch+proportion for gallery images scratch