working on getting photo gallery to work