Made code in BodyImageGetter shorter and clearer