immich-app / immich

High performance self-hosted photo and video management solution.
https://immich.app
GNU Affero General Public License v3.0
45.53k stars 2.2k forks source link

Immich doesn't expect changes to image #11340

Open ajpanton opened 2 months ago

ajpanton commented 2 months ago

The bug

I have the "Watch external libraries for file changes" setting turned on. It nicely reacts to changes made to the image metadata, but Immich doesn't seem to react well to changes made to the image itself.

If the resolution/aspect ratio changes, it seems to somehow redo the thumbnail, but apparently not from the actual image file? Not really sure. The aspect ratio of the thumbnail will be correct, but what it's actually showing isn't necessarily correct. Maybe it just keeps the previous thumbnail, but tries to display it in the new aspect ratio? 180-degree rotations, flips, or color changes just get ignored, because the dimensions stay the same. It looks weird when you see an old preview, but when zooming, it suddenly switches to the new image. You can manually refresh the thumbnails though I guess.

Any detected faces stay where they originally were. They are correct on the old preview, but zooming to get the new image, they are in the wrong places. And when refreshing the thumbnails (and preview), the faces are still in the old places.

The OS that Immich Server is running on

Truenas SCALE app

Version of Immich Server

v1.109.2

Platform with the issue

Reproduction steps

1. Edit or color correct any image.
2. Watch the thumbnails and previews not changing at all (thumbnails might change in a buggy way if the aspect ratio changed).
3. Manually refresh the thumbnails. Any detected faces are still in the wrong places, assuming you edited the image in a way that would move them around (crop, rotate, flip).
aviv926 commented 2 months ago

Can confirm the bug on my side as well.

danieldietzler commented 1 day ago

Hey, most likely this is a caching issue. Did you make sure to clear the browser cache?

Screenshot 2024-09-23 at 20 49 07

https://immich.app/docs/features/libraries