mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
multisize
- New derivative method for PwgTemplateAdapter. - add quotes to get_size_htm function. git-svn-id: http://piwigo.org/svn/trunk@13170 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user