Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Picture Previews of Persons #379

Closed
lukaskretzschmer opened this issue Nov 14, 2020 · 5 comments
Closed

No Picture Previews of Persons #379

lukaskretzschmer opened this issue Nov 14, 2020 · 5 comments

Comments

@lukaskretzschmer
Copy link

Hey, Thanks for reporting issues back to Nextcloud Face Recognition. Please, try to complete this report in detail so we can help you easier. 馃槃

Make sure you read all the documentation, and the FAQ, and that the issue has not been reported before. 馃槈

Expected behaviour

When entering /index.php/settings/user/facerecognition?name=[saved name of the person] we should see a grid of all the pictures of that person but right now is appearing nothing and in the picture background, **background-image:url('[the url]')** when inspecting the element it says Could not load the image.

We should see a grid of the previews of all the pictures belonging to the group of that person.

We see no images, like if the link is broken.
We do however see all the faces on /index.php/settings/user/facerecognition

Steps to reproduce

  1. The common installation steps.

Server configuration

  • Operating system:
    Debian, Raspbian

Client configuration

  • Browser:
    Firefox, Chrome, Chromium

  • Operating system:
    Debian, Windows, Android

@matiasdelellis
Copy link
Owner

HI @lukaskretzschmer

See #351 and test #365

@lukaskretzschmer
Copy link
Author

I tried it, and I was noticing that the url for the background-image is starting on root like: https://192.168.0.21/core/preview?fileId=[...] and there was Not Found error. My nextcloud installation is on https://192.168.0.21/nextcloud/ I was testing the same url but coming from /nextcloud like:
https://192.168.0.21/nextcloud/core/preview?fileId=2111&x=256&y=256&a=false&v=3b5143493301e05cf4e48d7f841caca1 and I received an empty JSON response, maybe that could help figure out the issue. I hope it helps.

@matiasdelellis
Copy link
Owner

With the patch, you should see:

https://192.168.0.21/nextcloud/index.php/core/preview?fileId=2111&x=256&y=256&a=false&v=3b5143493301e05cf4e48d7f841caca1

@matiasdelellis
Copy link
Owner

Must be fixed on last release.. Test and confirm.

@lukaskretzschmer
Copy link
Author

This is working incredibly perfect now, I have nothing to say but thank you for this project and your time. I hope I can give back to you and this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants