Animated gif images aren't animated when viewing an asset when "Display original photos" is disabled #7882

Closed
opened 2026-02-05 13:23:09 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @tygill on GitHub (Nov 20, 2025).

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

When the "Display original photos" setting is disabled, viewing an asset which is an animated image (e.g., a .gif file in my case, though I assume other animated image files may also be affected) still shows the generated thumbnail, which lacks the animation. The only way to view the animation is to download the original file or disable the setting.

(Oddly, when I first tried to view this file, it was animated, and the animation stopped after tagging a new face to the image. My guess is that maybe it played at first because no properly sized thumbnail existed, but when it was refreshed the thumbnail did exist? The animating behavior with this setting is reproducing consistently now however.)

This may be related to #21485, though that bug referenced the mobile app UIs, and I'm not certain if this setting is shared with the mobile and web UIs.

The OS that Immich Server is running on

Raspberry Pi OS (Debian based)

Version of Immich Server

v2.3.1

Version of Immich Mobile App

n/a

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

No response

Your docker-compose.yml content

Variant of official (changes only to be included in docker-compose with other services)

Your .env content

Minor variant of official

Reproduction steps

  1. Add an animated gif to Immich
  2. Enable / disable the "Display original photos"
  3. View the animated image - animation will depend on the state of that setting

Relevant log output


Additional information

No response

Originally created by @tygill on GitHub (Nov 20, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug When the "Display original photos" setting is disabled, viewing an asset which is an animated image (e.g., a .gif file in my case, though I assume other animated image files may also be affected) still shows the generated thumbnail, which lacks the animation. The only way to view the animation is to download the original file or disable the setting. (Oddly, when I first tried to view this file, it was animated, and the animation stopped after tagging a new face to the image. My guess is that maybe it played at first because no properly sized thumbnail existed, but when it was refreshed the thumbnail did exist? The animating behavior with this setting is reproducing consistently now however.) This may be related to #21485, though that bug referenced the mobile app UIs, and I'm not certain if this setting is shared with the mobile and web UIs. ### The OS that Immich Server is running on Raspberry Pi OS (Debian based) ### Version of Immich Server v2.3.1 ### Version of Immich Mobile App n/a ### Platform with the issue - [ ] Server - [x] Web - [ ] Mobile ### Device make and model _No response_ ### Your docker-compose.yml content ```YAML Variant of official (changes only to be included in docker-compose with other services) ``` ### Your .env content ```Shell Minor variant of official ``` ### Reproduction steps 1. Add an animated gif to Immich 2. Enable / disable the "Display original photos" 3. View the animated image - animation will depend on the state of that setting ### Relevant log output ```shell ``` ### Additional information _No response_
Author
Owner

@meesfrensel commented on GitHub (Nov 21, 2025):

This was implemented in #23842 and released in v2.3.0. Are you sure you are on v2.3.1? Does your gif have a 'gif' icon in the timeline? If not, you're most likely not updated. Looks like this:

Image
@meesfrensel commented on GitHub (Nov 21, 2025): This was implemented in #23842 and released in v2.3.0. Are you sure you are on v2.3.1? Does your gif have a 'gif' icon in the timeline? If not, you're most likely not updated. Looks like this: <img width="276" height="362" alt="Image" src="https://github.com/user-attachments/assets/81eee1f9-1494-4f14-b40f-32bc9bfa9b80" />
Author
Owner

@tygill commented on GitHub (Nov 23, 2025):

I am indeed on 2.3.1. Interestingly, searching for 'gif' shows that all the other thumbnails for gif files do have that icon in the corner - this is the only one that doesn't.

I wonder if this is in fact a side effect of my having manually tagged a face in the image? I had done that because I didn't realize that face detection and recognition were still running and hadn't processed this file yet. I did notice that the image animated before tagging the face, but as soon as it was tagged the animation stopped (and now it no longer has the gif icon on the thumbnail). As best I can tell, refreshing the thumbnail hasn't fixed it either.

@tygill commented on GitHub (Nov 23, 2025): I am indeed on 2.3.1. Interestingly, searching for 'gif' shows that all the other thumbnails for gif files do have that icon in the corner - this is the only one that doesn't. I wonder if this is in fact a side effect of my having manually tagged a face in the image? I had done that because I didn't realize that face detection and recognition were still running and hadn't processed this file yet. I did notice that the image animated before tagging the face, but as soon as it was tagged the animation stopped (and now it no longer has the gif icon on the thumbnail). As best I can tell, refreshing the thumbnail hasn't fixed it either.
Author
Owner

@meesfrensel commented on GitHub (Nov 24, 2025):

Is the asset still an animated gif when you download it back from immich? And what if you delete the asset (also from trash) and reupload it?

The facial recognition should have absolutely nothing to do with this.

If you try those things I mentioned and it's still not showing as a gif, do you mind sharing the file here? Or at least the exiftool output?

@meesfrensel commented on GitHub (Nov 24, 2025): Is the asset still an animated gif when you download it back from immich? And what if you delete the asset (also from trash) and reupload it? The facial recognition _should_ have absolutely nothing to do with this. If you try those things I mentioned and it's still not showing as a gif, do you mind sharing the file here? Or at least the exiftool output?
Author
Owner

@tygill commented on GitHub (Nov 25, 2025):

The file itself is still animated (confirmed both by downloading from Immich and by viewing the raw file from the external library path). Reuploading the file created a new entry that did animate.

However, I was able to repro the bug by changing the time associated with the photo (which I had also done the first time), but since that doesn't force a reload of the page the animation continued until refreshing (which was why I thought the face tagging was the cause). I don't know if it is just the presence of the xmp file (maybe that changes the detected file extension?) but changing the time on the web UI and refreshing stops the animation.

@tygill commented on GitHub (Nov 25, 2025): The file itself is still animated (confirmed both by downloading from Immich and by viewing the raw file from the external library path). Reuploading the file created a new entry that did animate. However, I was able to repro the bug by changing the time associated with the photo (which I had also done the first time), but since that doesn't force a reload of the page the animation continued until refreshing (which was why I thought the face tagging was the cause). I don't know if it is just the presence of the xmp file (maybe that changes the detected file extension?) but changing the time on the web UI and refreshing stops the animation.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#7882