I have a post with a status of draft and if I preview it on the front-end, the images are not pulling through.
In the template I am using the
image() help function (see: https://getkirby.com/docs/reference/templates/helpers/image).
When the post has a status of public or unlisted, this works as expected.
Is it possible to get this to work for drafts? Am I missing something?
For extra context, the place where
image() is being called is in a custom snippet for the Editor plugin. I have a path for the image like ‘work/project-name/image.jpg’ and this is what I am passing in to the