Skip to content

Preview routing issue #99

Open
Open

Description

@Gregor2203

Hello,

  1. Image preview is not working
    fmgr1

  2. There is no thumbnail previews in subfolders
    fmgr2

Thank you in advance for help

Activity

  1. Martin1982 commented on Feb 15, 2022

    @Martin1982
    Contributor

    Is the file physically available on your server and does it have the right owner and rights?

  2. Gregor2203 commented on Feb 15, 2022

    @Gregor2203
    Author

    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.

  3. xDeSwa commented on Nov 24, 2023

    @xDeSwa
    Contributor

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions