add image index