diff --git a/templates/catalog/_partials/category-header.tpl b/templates/catalog/_partials/category-header.tpl index b45d2082..457d2ad8 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} diff --git a/templates/catalog/_partials/subcategories.tpl b/templates/catalog/_partials/subcategories.tpl index cc7cfbf9..04f2639f 100644 --- a/templates/catalog/_partials/subcategories.tpl +++ b/templates/catalog/_partials/subcategories.tpl @@ -11,12 +11,21 @@
- {if !empty($subcategory.image.small.url)} + {if !empty($subcategory.thumbnail.small.url)} {$subcategory.name|escape:'html':'UTF-8'} + {else} + {$subcategory.name|escape:'html':'UTF-8'}