add assetsPhoto function