Add string typecast to image model init for parent images