From 487abf3ac2df20e4c1b5a19668a00bf738d97f39 Mon Sep 17 00:00:00 2001 From: "Jamie.Rees" Date: Thu, 16 Feb 2017 15:20:48 +0000 Subject: [PATCH] Fixed issues img --- Ombi.UI/Modules/IssuesModule.cs | 2 +- Ombi.UI/Views/Issues/Details.cshtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Ombi.UI/Modules/IssuesModule.cs b/Ombi.UI/Modules/IssuesModule.cs index 58897355a..e54962aba 100644 --- a/Ombi.UI/Modules/IssuesModule.cs +++ b/Ombi.UI/Modules/IssuesModule.cs @@ -145,7 +145,7 @@ namespace Ombi.UI.Modules Deleted = issue.Deleted, Type = issue.Type, ProviderId = issue.ProviderId, - PosterUrl = issue.PosterUrl, + PosterUrl = issue.PosterUrl.Contains("https://image.tmdb.org/t/p/w150/") ? issue.PosterUrl : $"https://image.tmdb.org/t/p/w150/{issue.PosterUrl}", Id = issue.Id }; return View["Details", m]; diff --git a/Ombi.UI/Views/Issues/Details.cshtml b/Ombi.UI/Views/Issues/Details.cshtml index c5567209a..da025b9cc 100644 --- a/Ombi.UI/Views/Issues/Details.cshtml +++ b/Ombi.UI/Views/Issues/Details.cshtml @@ -18,7 +18,7 @@
- +

Issues For "@Model.Title"