Preview routing issue
Hello,
-
Image preview is not working

-
There is no thumbnail previews in subfolders

Thank you in advance for help
Is the file physically available on your server and does it have the right owner and rights?
Yes.
I fixed first issue by overwriting template '_list.html.twig' and add route existed in controller
data-href='{{ path('file_manager_file', fileManager.queryParameters|merge({'fileName':file.fileName})) }}'
previously
data-href='{{ fileEntity.preview.path }}'
Now preview works in manager.
But still there is no thumbnails in subfolders, and I noticed another bug(3): Clicking on file paste its filename into input and quick preview but without folders structure. The same happened in ckeditor.
remove or disable 'web_dir' in config/packages/artgris_file_manager.yaml
# web_dir: public
and use dir: '%kernel.project_dir%/public/uploads'
use %kernek.project_dir% on dir parameter