From 4372d7aa112a2eedb4e3959a87c779984c698e2c Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 24 Jan 2012 19:24:47 +0000 Subject: feature 2548 multisize - added define_derivative template functiion for themes and plugins - code cleanup, new events ... git-svn-id: http://piwigo.org/svn/trunk@12954 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/thumbnails.tpl | 1 + 1 file changed, 1 insertion(+) (limited to 'themes/default') diff --git a/themes/default/template/thumbnails.tpl b/themes/default/template/thumbnails.tpl index e2d1e88c4..28dc83a35 100644 --- a/themes/default/template/thumbnails.tpl +++ b/themes/default/template/thumbnails.tpl @@ -1,4 +1,5 @@ {if !empty($thumbnails)}{strip} +{*define_derivative name='derivative_params' width=160 height=90 crop=true*} {html_style} {*Set some sizes according to maximum thumbnail width and height*} .thumbnails SPAN, -- cgit v1.2.3