some work with photo gallery