make image model api compatible with the old image parser