attempting to add image to index