getting photo templates working