getgrav / getgrav/grav-plugin-admin

filepicker is not working with sub-directory multi-site.

Open
#1,657 3 comments 0 reactions 1 assignee Claimed by @mahagr View on GitHub
bug
Dominant language
PHP
Stars
377
Forks
225
Avg merge
11h 51m
Merged PRs (30d)
4

Description

I am trying to use the filepicker of a blueprint in a subdirectory of a multi-site.
However, even if ' self @ ' is specified, the image list is not displayed at all.
Filepicker I wrote in the main directory blueprint, the list of images came out.

Also, if you type directly into the default.md header, the file name will be displayed, but the thumbnail will be Not found.

Grav: v1.6.6
Admin: v1.9.2

```
header.image:
type: filepicker
label: TestImages
folder: 'self@'
preview_images: true
accept:
- .jpg
- .png
```

Could you help me to solve the problem?

thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.