Fixed image model to be compatible with intervention/image package