adding coordinates to image model