add view assetsPhotos logic