lots of progress on photo gallery