crop image in new_widget file