I am struggling to display an image in the frontend from a custom image upload (type: filepicker
) in admin.
The filepicker
exists in the blueprint like the below:
header.brand_logo:
type: filepicker
label: Brand Logo
preview_images: true
folder: theme://images/brands
And then I am trying to load the output the image like:
<img src="{{ url('theme://images/brands/' ~ header.brand_logo) }}" />
But header.brand_logo
is NULL
.
Can anyone suggest why this isn’t working and what I need to do?