So I've been working with grav cms lately. Unfortunatly I can't find any answers to some problems I have.
I'm trying to upload a image with a custom blueprint form, using the file field.
this is my form soure code
title: homeref
'@extends': default
form:
fields:
tabs:
fields:
content:
type: ignore
options:
type: ignore
advanced:
type: ignore
referenties:
type: tab
title: Referenties
fields:
header.referenties:
type: list
label: Referenties
fields:
.image:
type: file
label: referentie IMG
multiple: false
destination: 'theme@:/images'
.text:
type: text
label: Referentie beschrijving
How can I display this image with twig?