put in images into index