$imageFilePreview->ratio()
Aspect ratio for SVGs without their own size, which the preview cannot fit by a natural size
$imageFilePreview->ratio() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.
$imageFilePreview->ratio(): float|null
Return types
floatornull
This method modifies the existing $imagefilepreview object it is applied to and returns it again.