This is my blueprint:
title: Project
pages: false
fields:
title:
label: Title
type: text
projectImg:
label: Work Image
type: image
icon: picture-o
width: 1/2
I’m trying to fetch the projectImg image this way:
<img src="<?php echo $page->projectImg()->url(); ?>" alt="">
and it’s not working.
How do I correctly fetch an image type blueprint field?