diff options
Diffstat (limited to 'include/template.class.php')
-rw-r--r-- | include/template.class.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/template.class.php b/include/template.class.php index 12fc9d10d..ea70549f9 100644 --- a/include/template.class.php +++ b/include/template.class.php @@ -899,6 +899,11 @@ class PwgTemplateAdapter return call_user_func_array('sprintf', $args ); } + function derivative($type, $img) + { + return new DerivativeImage($type, $img); + } + function derivative_url($type, $img) { return DerivativeImage::url($type, $img); |