added photo gallery template change