From 601ee7eabe8a5a7580f1d60e03c98855f37e9179 Mon Sep 17 00:00:00 2001 From: trawzified <55751269+tr4wzified@users.noreply.github.com> Date: Sat, 30 Dec 2023 12:32:57 +0100 Subject: [PATCH] Download small image from WJ cdn instead of getting it directly from the linked modlist image --- Wabbajack.App.Wpf/ViewModels/Gallery/ModListMetadataVM.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Wabbajack.App.Wpf/ViewModels/Gallery/ModListMetadataVM.cs b/Wabbajack.App.Wpf/ViewModels/Gallery/ModListMetadataVM.cs index 102186ea..a399c132 100644 --- a/Wabbajack.App.Wpf/ViewModels/Gallery/ModListMetadataVM.cs +++ b/Wabbajack.App.Wpf/ViewModels/Gallery/ModListMetadataVM.cs @@ -181,8 +181,8 @@ namespace Wabbajack }) .ToGuiProperty(this, nameof(Exists)); - var imageObs = Observable.Return(Metadata.Links.ImageUri) - .DownloadBitmapImage((ex) => _logger.LogError("Error downloading modlist image {Title} from {ImageUri}: {Exception}", Metadata.Title, Metadata.Links.ImageUri, ex.Message), LoadingImageLock); + var imageObs = Observable.Return(Metadata.ValidationSummary.SmallImage.ToString()) + .DownloadBitmapImage((ex) => _logger.LogError("Error downloading modlist image {Title} from {ImageUri}: {Exception}", Metadata.Title, Metadata.ValidationSummary.SmallImage, ex.Message), LoadingImageLock); _Image = imageObs .ToGuiProperty(this, nameof(Image));