add sprite, and add images to index