add gallery index