generation of image index works