ImageService id function