added image model and resource