image($filename = null)

Fetches any image by filename for the current page, or by path for any other page

Example

Fetching an image of the current page

<?php echo image('forrest.jpg')->url() ?>

Fetching an image from any other page

<?php echo image('projects/project-a/forrest.jpg')->url() ?>