Add function to get image by ID

Return an image by provided ID