Skip to content

Preview image not shown in user settings #280

@sanchosk

Description

@sanchosk

Describe the bug
I did initial run of the recognition for faces. All went well, I have multiple hits, but all the preview images in user settings page for Recognize are empty.
The URL starts with /index.php/code/preview?... As my nextcloud installation is in folder /nextcloud, the previews do not work.

To Reproduce
Steps to reproduce the behavior:

  1. Install Nextcloud 24.0.4
  2. run the php script from server shell to recognize faces (occ recognize:classify-images)
  3. open the settings page of a user, navigate to the Recognize page
  4. Observe multiple tags, all detected as People Untitled, but all images having only broken link placeholder

Expected behavior
I expected the preview images to be shown. If I inspect the element and modify the tag and add /nextcloud to the URL, the image is shown OK.

Recognize (please complete the following information):

  • JS-only mode: No
  • Enabled modes: face recognition

Server (please complete the following information):

  • Nextcloud: 24.0.4
  • OS: Ubuntu
  • RAM: 16GB
  • Processor Architecture x86/64

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions