[BUG] Blurry thumbnails when zoomed in #941

Closed
opened 2026-02-04 23:39:10 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @uhthomas on GitHub (Jun 13, 2023).

The bug

Lots of devices with high resolution displays will increase the UI size by default to increase legibility. This means that if devicePixelRatio > 1, Immich thumbnails are blurry. It might be better to support dynamic thumbnail generation depending on the resolution required by the client. This can be achieved with reasonable performance using something like groupcache, and is one the base examples Google used when it was introduced. I actually wrote this exact thing for a project about a decade ago here.

The OS that Immich Server is running on

N/A

Version of Immich Server

1.60.0

Version of Immich Mobile App

N/A

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

N/A

Your .env content

N/A

Reproduction steps

1. Zoom into Immich on the web
2. Observe blurry thumbnails

Additional information

No response

Originally created by @uhthomas on GitHub (Jun 13, 2023). ### The bug Lots of devices with high resolution displays will increase the UI size by default to increase legibility. This means that if `devicePixelRatio` > 1, Immich thumbnails are blurry. It might be better to support dynamic thumbnail generation depending on the resolution required by the client. This can be achieved with reasonable performance using something like [groupcache](https://github.com/golang/groupcache), and is one the base [examples](https://go.dev/talks/2013/oscon-dl.slide#46) Google used when it was introduced. I actually wrote this exact thing for a project about a decade ago [here](https://github.com/uhthomas/sana/blob/archive/route/thumbnailhandler.go). ### The OS that Immich Server is running on N/A ### Version of Immich Server 1.60.0 ### Version of Immich Mobile App N/A ### Platform with the issue - [ ] Server - [X] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML N/A ``` ### Your .env content ```Shell N/A ``` ### Reproduction steps ```bash 1. Zoom into Immich on the web 2. Observe blurry thumbnails ``` ### Additional information _No response_
OVERLORD added the 🗄️server🖥️web labels 2026-02-04 23:39:10 +03:00
Author
Owner

@mertalev commented on GitHub (Aug 16, 2023):

This issue can be closed as thumbnail sizes are now customizable.

@mertalev commented on GitHub (Aug 16, 2023): This issue can be closed as thumbnail sizes are now customizable.
Author
Owner

@uhthomas commented on GitHub (Aug 16, 2023):

Eh, can we reopen this? I am not sure it will really solve the issue as immich still doesn't take scaling into account she displaying thumbnails. We really need a generic thumbnail generator or something to do this properly.

@uhthomas commented on GitHub (Aug 16, 2023): Eh, can we reopen this? I am not sure it will really solve the issue as immich still doesn't take scaling into account she displaying thumbnails. We really need a generic thumbnail generator or something to do this properly.
Author
Owner

@mertalev commented on GitHub (Aug 16, 2023):

That's a feature request, not a bug. The problem of blurry thumbnails is fixed.

@mertalev commented on GitHub (Aug 16, 2023): That's a feature request, not a bug. The problem of blurry thumbnails is fixed.
Author
Owner

@jrasm91 commented on GitHub (Aug 16, 2023):

IMO I think being able to customize thumbnail settings solves this in the short-term and mid-term. I agree we might want a better approach from thumbnails long-term though. What you are talking about here sounds more like an entire overhaul of the thumbnail implementation/strategy/approach, which will obviously require a lot more thought. A github discsussion sounds like an appropriate place to track it.

@jrasm91 commented on GitHub (Aug 16, 2023): IMO I think being able to customize thumbnail settings solves this in the short-term and mid-term. I agree we might want a better approach from thumbnails long-term though. What you are talking about here sounds more like an entire overhaul of the thumbnail implementation/strategy/approach, which will obviously require a lot more thought. A github discsussion sounds like an appropriate place to track it.
Author
Owner

@uhthomas commented on GitHub (Aug 16, 2023):

The reason it's marked as a bug is that images are blurry on scaled displays by default.

@uhthomas commented on GitHub (Aug 16, 2023): The reason it's marked as a bug is that images are blurry on scaled displays by default.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#941