From cc01941ed97f6c8f6790931bfc167ba45c5a8f91 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 17 Jan 2012 21:58:18 +0000 Subject: feature 2548 multisize - code cleanup + better usage in category_cats + i.php logs memory usage peak git-svn-id: http://piwigo.org/svn/trunk@12920 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/mainpage_categories.tpl | 10 +++++++++- themes/default/template/thumbnails.tpl | 16 +++++++++++----- 2 files changed, 20 insertions(+), 6 deletions(-) (limited to 'themes/default/template') diff --git a/themes/default/template/mainpage_categories.tpl b/themes/default/template/mainpage_categories.tpl index 016c95558..15e8802d9 100644 --- a/themes/default/template/mainpage_categories.tpl +++ b/themes/default/template/mainpage_categories.tpl @@ -1,11 +1,19 @@ +{strip}{html_style} +.thumbnailCategory DIV.illustration{ldelim} + width: {$derivative_params->max_width()+5}px; +} +.content .thumbnailCategory .description{ldelim} + height: {$derivative_params->max_height()+5}px; +} +{/html_style}{/strip}