⭐️ If you like Statamic, give it a star on GitHub! ⭐️

Control Panel File Fieldtype problem

I'm having a bit of a problem with the control panel -> new entry when it comes to the File fieldtype. In the fieldsets/post.yaml file I have this:

  display: Header Image
  required: false
  type: file
  allowed: [jpg]
  destination: /assets/img/site

When I choose a file, the image file gets saved in the correct destination place, however after saving/publishing the post, this is what I get instead of the post:


One thing to note is that I've set:

blog_image_folder: /assets/img/site/

in theme.yaml

What do I have to do to solve this?

>>>>>>> Unanswered <<<<<<<
18 Replies