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:
postheaderimage: 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:
What do I have to do to solve this?