Upload image to contract