diff options
author | rvelices <rv-github@modusoptimus.com> | 2012-01-24 19:24:47 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2012-01-24 19:24:47 +0000 |
commit | 4372d7aa112a2eedb4e3959a87c779984c698e2c (patch) | |
tree | effb299c1e7af6d56d68ea1916845184553e3b6b /themes/default/template/thumbnails.tpl | |
parent | 3b3e586b0d9a0a4da92d5040bfb08937afdc239f (diff) |
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
Diffstat (limited to 'themes/default/template/thumbnails.tpl')
-rw-r--r-- | themes/default/template/thumbnails.tpl | 1 |
1 files changed, 1 insertions, 0 deletions
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, |