From ad3f1ae0e484ed962ed2de6fe32bfea8608cde16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Hlav=C3=A1=C4=8Dek?= Date: Mon, 16 Sep 2024 22:41:04 +0200 Subject: [PATCH 1/2] Use category cover --- templates/catalog/_partials/category-header.tpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/catalog/_partials/category-header.tpl b/templates/catalog/_partials/category-header.tpl index b45d2082c..457d2ad8b 100644 --- a/templates/catalog/_partials/category-header.tpl +++ b/templates/catalog/_partials/category-header.tpl @@ -9,14 +9,14 @@ {if $category.description}
{$category.description nofilter}
{/if} - {if !empty($category.image.large.url)} + {if !empty($category.cover.large.url)}
- {if !empty($category.image.legend)}{$category.image.legend}{else}{$category.name}{/if} + width="{$category.cover.large.width}" + height="{$category.cover.large.height}">
{/if} From 60fcfeeeb80ef378c2fc465b7daa07f6a0b42fe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Hlav=C3=A1=C4=8Dek?= Date: Mon, 16 Sep 2024 22:49:37 +0200 Subject: [PATCH 2/2] Use category thumbnail --- templates/catalog/_partials/subcategories.tpl | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/templates/catalog/_partials/subcategories.tpl b/templates/catalog/_partials/subcategories.tpl index cc7cfbf97..04f2639f7 100644 --- a/templates/catalog/_partials/subcategories.tpl +++ b/templates/catalog/_partials/subcategories.tpl @@ -11,12 +11,21 @@