provide image service interface and add  image service test