The new blocks field has a $block->ratio() variable when an image is being used and the user selects a crop but how do I use this with the $file->crop() function which only takes width and height as parameters?
Referring to this snippet in particular:
Any pointers or am I missing something obvious?