fix up photo gallery