Upscale photos master
authorScott Gasch <[email protected]>
Sat, 20 Jun 2026 22:51:30 +0000 (15:51 -0700)
committerScott Gasch <[email protected]>
Sat, 20 Jun 2026 22:51:30 +0000 (15:51 -0700)
immich_photo_renderer.py

index 2c18773dce6bfff85ff6c3c3b44adfae6e183751..d1ed89fd6c77a238ba460b54dbf4688f815eec0d 100644 (file)
@@ -299,8 +299,11 @@ class immich_photo_renderer(renderer.abstaining_renderer):
       .photo-pane img {{
             max-width: 100%;
             max-height: 100%;
       .photo-pane img {{
             max-width: 100%;
             max-height: 100%;
+            min-width: 60%;       /* force upscale */
+            min-height: 50%;      /* tweak to taste
             object-fit: contain;
             box-shadow: 0 0 50px rgba(0,0,0,0.5);
             object-fit: contain;
             box-shadow: 0 0 50px rgba(0,0,0,0.5);
+            image-rendering: auto; /* browser uses bilinear/bicubic */
       }}
       /* --- Info Pane Logic --- */
       .info-pane {{
       }}
       /* --- Info Pane Logic --- */
       .info-pane {{