immich
immich copied to clipboard
[BUG] photos should have a permanent url
The bug
Photos don't have a permanent link when viewed, which means Immich will reset back to the main photos page when the page is refreshed. It also means the link can't be copied or opened in a new tab for whatever reason.
The OS that Immich Server is running on
N/A
Version of Immich Server
v1.62.1
Version of Immich Mobile App
N/A
Platform with the issue
- [X] Server
- [X] Web
- [ ] Mobile
Your docker-compose.yml content
N/A
Your .env content
N/A
Reproduction steps
N/A
Additional information
No response
Even though albums generate a full URL like /albums/:id/photos/:id, a refresh forces the user back to /albums/:id. Seems a bit pointless and should also be fixed.
This is a more complicated behavior that we haven't gotten around to implementing. By navigating to the specific URL, the asset will need to be determined which time bucket it is in to allow proper navigation.
@alextran1502 I don't think it really matters? I don't think even Google Photos handles that. I would be happy if a direct link just handed the user back to the top of the page.
Google does handle direct links to assets, and the previous/next arrows work within the context too.
Yes, sorry, I am aware that Google handles those cases correctly.
How does Google handle exiting from the asset?
It goes back to the album/context as you would expect
With some of the recent changes in the asset grid implementation, I think it should be easier to add this now. For views that use the asset grid, we should be able to add this feature.
Implemented #8532