diff --git a/MediaManager/Platforms/Ios/Media/AVAssetImageProvider.cs b/MediaManager/Platforms/Ios/Media/AVAssetImageProvider.cs index 2058f4de..42408a6e 100644 --- a/MediaManager/Platforms/Ios/Media/AVAssetImageProvider.cs +++ b/MediaManager/Platforms/Ios/Media/AVAssetImageProvider.cs @@ -20,13 +20,13 @@ public async Task ProvideImage(IMediaItem mediaItem) object image = null; try { - if (!string.IsNullOrEmpty(mediaItem.ImageUri)) + if (!string.IsNullOrEmpty(mediaItem.DisplayImageUri)) { - var location = MediaManager.Extractor.GetMediaLocation(mediaItem.ImageUri); + var location = MediaManager.Extractor.GetMediaLocation(mediaItem.DisplayImageUri); if (location == MediaLocation.Resource) - mediaItem.Image = image = UIImage.FromBundle(mediaItem.ImageUri); + mediaItem.Image = image = UIImage.FromBundle(mediaItem.DisplayImageUri); else - mediaItem.Image = image = UIImage.LoadFromData(NSData.FromUrl(new NSUrl(mediaItem.ImageUri))); + mediaItem.Image = image = UIImage.LoadFromData(NSData.FromUrl(new NSUrl(mediaItem.DisplayImageUri))); } if (image == null && !string.IsNullOrEmpty(mediaItem.AlbumImageUri)) {