Integrating with photo gallery and cleanup