mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fixed small typo
ration changed to ratio
This commit is contained in:
parent
0ccd9f5bb9
commit
4535448bce
@ -93,7 +93,7 @@ For output of an image tag with the image automatically resized to 80px width, y
|
||||
|
||||
:::php
|
||||
$Image.SetWidth(80) // returns a image 80px wide, ratio kept the same
|
||||
$Image.SetHeight(80) // returns a image 80px tall, ration kept the same
|
||||
$Image.SetHeight(80) // returns a image 80px tall, ratio kept the same
|
||||
$Image.SetSize(80,80) // returns a 80x80px padded image
|
||||
$Image.SetRatioSize(80,80) // Returns an image scaled proportional, with its greatest diameter scaled to 80px
|
||||
$Image.CroppedImage(80,80) // Returns an 80x80 image cropped from the center.
|
||||
|
Loading…
Reference in New Issue
Block a user