Skip to content

Photo download button doesn't respect library path. #389

@bryanlyon

Description

@bryanlyon

Describe the bug
Download fails to account correctly for correct library path.

To Reproduce
Steps to reproduce the behavior:

  1. Create a library called "Photos" with a data path of /data/photos2
  2. View a photo through the UI
  3. Click the "download" button
  4. File path given fails to download since it tries to download from path of 127.0.0.1:8000/photos/path instead of 127.0.0.1:8000/photos2/path

Expected behavior
File should be downloaded

Server (please complete the following information):

  • QNAP NAS
  • OS: QNAP QTS 5.0
  • Architecture: X86

I'm not sure if this is because the library itself is called "Photos" (instead of "Photos2") or if it's looking to a hardcoded /data/photos location.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions