$dimension->ratio()
Returns the ratio
Example
<?php echo $page->image()->ratio() ?>