aboutsummaryrefslogtreecommitdiffstats
path: root/include/derivative.inc.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2012-02-15 14:47:03 +0000
committerpatdenice <patdenice@piwigo.org>2012-02-15 14:47:03 +0000
commit44abb902c8e0c32bab533cd127730536fc33df11 (patch)
tree39c4bc3ac6f3b4bb045ba9a77626420f2f39796b /include/derivative.inc.php
parentf5f908a07e9afc943067bda44f5aab96ec2d5382 (diff)
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
Diffstat (limited to '')
-rw-r--r--include/derivative.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/derivative.inc.php b/include/derivative.inc.php
index c45c77b80..2f2f4b3d1 100644
--- a/include/derivative.inc.php
+++ b/include/derivative.inc.php
@@ -258,7 +258,7 @@ final class DerivativeImage
$size = $this->get_size();
if ($size)
{
- return 'width='.$size[0].' height='.$size[1];
+ return 'width="'.$size[0].'" height="'.$size[1].'"';
}
}