Linking to featured image for background

I am currently designing a blog which will have a featured original image for each post. I’m guessing the best way is to have an image field in the blueprints:

coverImage:
    label: Cover Image
    type: image

Also having the image added in the header.php style as:

  <style>
    aside, aside.active {
      background: url('<?php echo $page->coverImage()->kirbytextRaw() ?>');
    }
  </style>

The trouble with this is the page cource is showing that is is inlcuding the image but not the directory for the post:

<style>
    aside, aside.active {
      background: url('img_4791.jpg');
    }
  </style>

What is the best way to show the full url location of the image?

This should work:

<?php echo $page->coverImage()->toFile()->url() ?>