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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web: Unable to download a live photo from an album link #15836

Open
1 of 3 tasks
Mikayex opened this issue Feb 1, 2025 · 3 comments
Open
1 of 3 tasks

Web: Unable to download a live photo from an album link #15836

Mikayex opened this issue Feb 1, 2025 · 3 comments

Comments

@Mikayex
Copy link

Mikayex commented Feb 1, 2025

The bug

The download button on a single picture doesn't work on live photos (taken with Pixel 8) from an album share link. The button does nothing and the browser console emits an error.

It works correctly on normal pictures.

The OS that Immich Server is running on

Docker on Debian 12

Version of Immich Server

v1.125.7

Version of Immich Mobile App

v1.125.5

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

Shouldn't be needed (ask otherwise)

Your .env content

Shouldn't be needed (ask otherwise)

Reproduction steps

  1. Make an album with a live photo
  2. Create a public link to this album
  3. Open the photo from the album link
  4. Click on the download button
  5. Nothing happens

Relevant log output

vaGWhJfi.js:9 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'download')
    at Bo (vaGWhJfi.js:9:60182)

Additional information

No response

@bo0tzz
Copy link
Member

bo0tzz commented Feb 1, 2025

Please share more detail; what OS & browser? Does it happen without extensions/in an incognito tab/etc?

@Mikayex
Copy link
Author

Mikayex commented Feb 1, 2025

Android (2 different devices) and Linux, all on Chrome. The issue is present on both normal mode and incognito.
I also tried to disable the cache on network tab without success.

I will try on firefox when I have time

@Mikayex
Copy link
Author

Mikayex commented Feb 2, 2025

I wonder if the problem is not caused by the get(preferences) in this line

if (!isAndroidMotionVideo(motionAsset) || get(preferences).download.includeEmbeddedVideos) {

Since there is no user logged in, there are no preferences, right?

Also, it doesn't work with Firefox on Linux.

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