Hello,
I am moving articles from Joomla 3 to Grav 1.7.
In Joomla, in the content of the article I have the plugin code: {gallery}/gallery/2021/28-09{/ gallery}.
The code loads all images from the given location.
In Grav, I would also like to replace it with code that will display these images (in the exported .md files, I add field: gallery: 'gallery/2021/28-09' to the item.md file, and delete string: {{gallery / 2021 / 28-09} }.
I copied all the images to the user / images directory and they are in their own subdirectories.
I don't know how to get all files in this location user/images/gallery/2021/ 28-09 in the .twig file.
Any idea how to get an array of these image files? Maybe you can generate such a gallery in some other way?