projects
/
kiosk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f307659
)
Upscale photos
master
author
Scott Gasch
<
[email protected]
>
Sat, 20 Jun 2026 22:51:30 +0000
(15:51 -0700)
committer
Scott Gasch
<
[email protected]
>
Sat, 20 Jun 2026 22:51:30 +0000
(15:51 -0700)
immich_photo_renderer.py
patch
|
blob
|
history
diff --git
a/immich_photo_renderer.py
b/immich_photo_renderer.py
index 2c18773dce6bfff85ff6c3c3b44adfae6e183751..d1ed89fd6c77a238ba460b54dbf4688f815eec0d 100644
(file)
--- a/
immich_photo_renderer.py
+++ b/
immich_photo_renderer.py
@@
-299,8
+299,11
@@
class immich_photo_renderer(renderer.abstaining_renderer):
.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);
+ image-rendering: auto; /* browser uses bilinear/bicubic */
}}
/* --- Info Pane Logic --- */
.info-pane {{