From 32f744696074046d083b7983bd22e13f9052e90d Mon Sep 17 00:00:00 2001 From: Ashley //// Date: Sat, 24 Feb 2024 09:47:22 +0000 Subject: [PATCH] add thumb versions --- html/channel.ejs | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/html/channel.ejs b/html/channel.ejs index ede2f939..f8e33f4a 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -645,12 +645,17 @@ height: 100%; <% if (!isMobile) { %>
+ +<% if (j?.Channel?.Metadata?.Banners.Thumbnail) { %> + <% for (let i = 5; i >= 1; i--) { %> + <% if (j.Channel.Metadata.Banners.Thumbnail[i]?.['$t']) { %> + + <% break; %> + <% } %> + <% } %> +<% } %> - <% if (j?.Channel?.Metadata?.Banners.Thumbnail) { %> - - <% } %> -