adds gallery string to pantings index