I’ve modified the Flex-Directory plugin with my own label.
Now, I’m trying to add a label to upload an image.
It’s working in the admin, the label is here and the file is uploaded.
But the image don’t appear in the page.
I don’t understand this code ```
{{ page.media[header.yourfilefield|first.name] }}
In the home page, I want to display the result of the Flex-directory plugin.
The name of the form for the file is {{ entry.captures }}
All of the other items are displaying. I don't know who to access to the image that are upload in /user/data/flex-directory/files/ with random name.
Any suggestions please ?