mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Rename Pad PaddedImage, to be consistant with CroppedImage
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40948 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
2d0ec721d0
commit
35665321b9
@ -218,7 +218,7 @@ class Image extends File {
|
|||||||
return $gd->croppedResize($this->stat('strip_thumbnail_width'),$this->stat('strip_thumbnail_height'));
|
return $gd->croppedResize($this->stat('strip_thumbnail_width'),$this->stat('strip_thumbnail_height'));
|
||||||
}
|
}
|
||||||
|
|
||||||
function generatePad(GD $gd, $width, $height) {
|
function generatePaddedImage(GD $gd, $width, $height) {
|
||||||
return $gd->paddedResize($width, $height);
|
return $gd->paddedResize($width, $height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user