Hi there,
In the cms interface, clicking on the Media button populates the media modal but it states that “no assets are found”.
Here is a sample of config.yml.
media_folder: "static/assets"
collections:
- label: Artists
name: artists
fields:
- label: "Image"
name: image
widget: image
media_folder: "/static/assets/banner/{{fields.slug}}"
Images from artists collection are uploaded in “/static/assets/banner/my-artist/” for instance.
There are different image fields within this collection with media_folder pointing to different folder to keep things organized.
I would expect all images to be shown when user clicks on Media but it does not show any asset, probably because the media_folder at the root is pointing to “static/images” and not the actual paths where images are uploaded.
Is there a way to show all assets when clicking on Media button, regardless of the folder they are placed in (provided it’s under the path specified in media_folder at the root of config.yml?)
Cheers,