Image Resize Frontmatter

I have setup a blueprint like this:

type: file
label: Image
destination: ‘@self
multiple: false
– image/*

How can I resize the placeholder like {{ image.Bild|first.path }} with .cropResize(300, 300)?

I cannot use because there are some additional fields for every element (title, price, …)

Thank you!

This is how I accomplished a similar thing on my site:[page.header.default_photo].cropResize(300,300)

page.header.default_photo contains the image filename. By passing the filename into I found I could apply any media process to it.

I’m new to Grav so I don’t know if this is the best way, but it works.