diff --git a/core/model/Image.php b/core/model/Image.php index e4f1e0e0b..03e30a1a6 100755 --- a/core/model/Image.php +++ b/core/model/Image.php @@ -217,6 +217,10 @@ class Image extends File { function generateStripThumbnail(GD $gd) { return $gd->croppedResize($this->stat('strip_thumbnail_width'),$this->stat('strip_thumbnail_height')); } + + function generatePad(GD $gd, $width, $height) { + return $gd->paddedResize($width, $height); + } /** * Return an image object representing the image in the given format.